Autor Beitrag
Heiming
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 31

WIN XP
D7 EE
BeitragVerfasst: Mi 10.09.03 22:45 
Ist es möglich eine Ip aus einem Editfeld auszulesen und als seine eigeene (sofern sie gültig udn frei ist) zu setzen? (es ist sicherlich möglich, aber wie)) :wink:

danke

_________________
Nur weil du nicht paranoid bist, heißt das nicht dass sie nicht hinter dir her sind !
Hansi@OMG
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 304

Vista
Delphi 2006 Prof., Lazarus
BeitragVerfasst: Do 11.09.03 14:41 
Ich weis nicht, ob das bei jedem Windows geht, aber schau dir mal den Registryeintrag an:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces

Da ist die IP festgelegt, da kannst du sie auch ändern.

_________________
Who doesn't know the Micrsoft developer "Mahatma Fatal Error"?
Heiming Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 31

WIN XP
D7 EE
BeitragVerfasst: Do 11.09.03 15:42 
da steht ne ganze menge...
kann mir einer mal s ne art mini-procedure schrieben um die richtige registrierungsinfo zu ändern, bitte?

_________________
Nur weil du nicht paranoid bist, heißt das nicht dass sie nicht hinter dir her sind !
Heiming Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 31

WIN XP
D7 EE
BeitragVerfasst: Sa 13.09.03 12:21 
habs jetzt fast geschafft. es gibt aber ein problem:

und zwar liegt derkay mit der Ip bei mir in dem unterordner "{649BD11E-DDE7-486B-9B0E-88AC31527F7F}".
und delphi findet die keys in diesem unterordner nicht. in dem interfaces ordner darüber findet delphi sie.
wie kann ich den pfad richtig angeben sodass delphi den ordner findet?

mit "interfaces\{649BD11E-DDE7-486B-9B0E-88AC31527F7F}" und auch "interfaces_{649BD11E-DDE7-486B-9B0E-88AC31527F7F}" gehts nicht. :cry:

_________________
Nur weil du nicht paranoid bist, heißt das nicht dass sie nicht hinter dir her sind !
Ex0rzist
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 550

Win XP Prof.
Mandrake 10.0

D6
BeitragVerfasst: Sa 13.09.03 15:03 
Dass man die IP über die Registry ändern kann, halte ich für ein Gerücht.
Du bekommst eine IP von deinem ISP zugewiesen.
Dieser wiederum hat bestimmte IP-Adressbereiche gemietet, die er seinen Kunden zur Verfügung stellt. Wenn du jetzt eine IP haben willst, die ein anderer gemietet hat, dann geht das einfach nicht.
Heiming Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 31

WIN XP
D7 EE
BeitragVerfasst: Sa 13.09.03 15:37 
du redest sicher von WON Ips. da ist das chonr ichtig. ich rede jedoch von LAN IPs wo man seine Ip ja einstellen kann wie man lustig ist, solange die IP frei und korrekt ist.


:wink:

_________________
Nur weil du nicht paranoid bist, heißt das nicht dass sie nicht hinter dir her sind !
Ex0rzist
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 550

Win XP Prof.
Mandrake 10.0

D6
BeitragVerfasst: Sa 13.09.03 18:13 
Oh. :shock:

Wenn das so ist, dann vergiss einfach, was ich geschrieben habe. :wink:
Heiming Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 31

WIN XP
D7 EE
BeitragVerfasst: So 14.09.03 23:19 
ja aber kann mir denn keiner sagen wie man den pfad korrekt angibt? :cry:

_________________
Nur weil du nicht paranoid bist, heißt das nicht dass sie nicht hinter dir her sind !
focus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 187

XP, 2k, 98, Me
D6 Prof
BeitragVerfasst: Di 16.09.03 14:50 
[ members.tripod.com/e...n1/files/dunfast.txt ]
"For those using Windows 2000, XP or 2003 go to the following registry key:
'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\
Interfaces\[Adapter ID]' < where [Adapter ID] is the random GUID of your dialup adapter."

hierraus entnehme ich einfach mal das es sich bei der zahl am schluss um die adapterid handelt.. such doch mal danach wie man die berechnen kann bzw vom adapter kriegt... den "root"path hast du ja schon und der bleibt auch zumindest im gleichen system konstant..

gruss
michael
barfuesser
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 324



BeitragVerfasst: Di 16.09.03 16:35 
Meines Wissens steht die AdapterID auch in der Registry. Mußt halt mal nach suchen.

barfuesser
Heiming Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 31

WIN XP
D7 EE
BeitragVerfasst: Di 16.09.03 19:23 
danke. ich suche mal

_________________
Nur weil du nicht paranoid bist, heißt das nicht dass sie nicht hinter dir her sind !