Link to home
Start Free TrialLog in
Avatar of venks
venks

asked on

Dynamically changing Static IP addesses for the same machine though Delphi code

I want code in  Delphi to assign static IP addresses to my network card with out going through the Ntework connection properties dialog so that I can change my static IP addresses through the application
Venkas
ASKER CERTIFIED SOLUTION
Avatar of RadikalQ3
RadikalQ3
Flag of Spain image

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 venks
venks

ASKER

I am using Delphi 7 & i could not find netsh.pas in my system.With out that  I am not able to compile
Venks
Netsh is a Windows command, not a Delphi unit...
:) do not include nothing in the uses line, just put the code in a TButton onclick event and run :)
(sorry... maybe is my poor english...)
Avatar of venks

ASKER

RadikalQ3
Thanks for the answer.It works & am awarding the points to you
Venks