Results 1 to 5 of 5

Thread: Changing IP on the fly

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 1999
    Location
    Juiz de Fora, MG, Brazil
    Posts
    30

    Lightbulb

    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

  2. #2
    Lively Member
    Join Date
    Jan 1999
    Location
    Rochester NY, USA
    Posts
    93
    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.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 1999
    Location
    Juiz de Fora, MG, Brazil
    Posts
    30

    Question

    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

  4. #4
    Guest

    Talking

    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

  5. #5
    Lively Member
    Join Date
    Jan 1999
    Location
    Rochester NY, USA
    Posts
    93
    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
  •  



Click Here to Expand Forum to Full Width