Link to home
Start Free TrialLog in
Avatar of moh_abbashar
moh_abbashar

asked on

Change IP Address by Delphi code

im trying to change my IP Address by delphi code . now i trying to change it by registry but i found a problem , i cant write Reg_MULTI_SZ . You can find the IP Address in this path (\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces) in one of its sub key
in the rootkey ( HKEY_LOCAL_MACHINE ) in  windows 2000 . I can get the subkey of the IP Address and read it , but i cant change it because i dont know how can i use REG_MULTI_SZ .
I want to know about that , or know another way to set IP Address by code .
ASKER CERTIFIED SOLUTION
Avatar of danich
danich

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of paullamhkg
paullamhkg

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is to:

Accept danich's Comments as answer

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Paul
EE Cleanup Volunteer