🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6465

Re: How to change IP Address programmable?

#6465
From: Danila Vershinin
Date: Tue, 10 May 2005 06:42
26 lines
1475 bytes
"Alan" <sun@mail.welltech.com.tw> wrote in message 
news:42803579$1@newsgroups.borland.com...
> As subject.

Use TRegistry and do these things:

 1. Open HKEY_LOCAL_MACHINE

2.search for subKey = SOFTWARE\Microsoft\Windows 
NT\CurrentVersion\NetworkCards
\"netcard# "

"netcard# " number of your netcard (usually 1)

3. Get "ServiceName" value

4. look for subKey = SYSTEM\CurrentControlSet\Services\"ServiceName"
\Parameters\TcpIp"

5. Change "IpAddress" to change IP address

6. Change "SubnetMask" for subnet mask change

7. Change "DefaultGateway" - default gateway change

8. do a reboot 
Technical Details
Message-ID: <428059ac@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <42803579$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,718fc1bef644cdc5
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Danila Vershinin" <danprep@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42803579$1@newsgroups.borland.com>
Subject: Re: How to change IP Address programmable?
Date: Tue, 10 May 2005 10:42:10 +0400
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 62.33.222.124
Message-ID: <428059ac@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115707820 62.33.222.124 (9 May 2005 23:50:20 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail