|
-
Apr 25th, 2000, 12:41 AM
#1
Thread Starter
Junior Member
Hy guys,
I found the IP number of my machine in \HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0000\IPAddress.
I need to move my computer sometimes and the IP needs to be changed.
Can I create a program, with VB, using APIs call (teached by Jonh Percival) to change the IP using this registry path?
What do you thing about?
Emidio
[Edited by Emidio on 04-26-2000 at 11:56 AM]
Emidio do Nascimento
--------------------
Programmer, teacher and consultant.
[email protected]
Juiz de Fora/MG
BRAZIL
-
Apr 25th, 2000, 01:28 AM
#2
Lively Member
Well there's more to it than that. You're also going to have to change your gateway, DNS servers, WINS servers (if you use them), and any other network specific settings. You could just make .reg files to update this but its going to rewuire a reboot anyway.
-
Apr 25th, 2000, 11:04 PM
#3
Thread Starter
Junior Member
Ok rchiav.
Other informations about the Lan needs to be changed to, I know.
I'll do a simple logoff and leave W98 ask about the another user.
But, if I change exactly these informations only, the informations on Control-Panel are changed too? If I change on registry that informations will work well? 
Tkx
Emidio do Nascimento
--------------------
Programmer, teacher and consultant.
[email protected]
Juiz de Fora/MG
BRAZIL
-
Apr 26th, 2000, 12:13 AM
#4
if you change all necessary settings, it probably will work. i think, that controlpanel utilities are read (and save) their data mainly out of the registry. if u really intrested in it, you can backtrace all registry-activity by using REGMON (a really great tool from sysinternals.
hth
taLON
-
Apr 26th, 2000, 02:45 AM
#5
Lively Member
The network applet in the control panel is just a fancy interface to the registry. As long as you catch everything, it will work. I do this now at work for newly cloned machines. I just run a reg file to update DNS information, novell client information, etc.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|