Link to home
Start Free TrialLog in
Avatar of HaithamEgy
HaithamEgy

asked on

Advanced LAN Settings

How can I configure Advanced Lan Settings ( IP Address , DNS , Gateway and subnet Mask ) in my Delphi code ?

I want to make on windows XP / 2000 and also Win 9x.

Thank You
Avatar of Wim ten Brink
Wim ten Brink
Flag of Netherlands image

> I want to make on windows XP / 2000 and also Win 9x.
Well, that would be a huge problem since Win9x uses a different setup mechanism than XP/2000. And on XP/2000 there's also something like the security mechanism that will prevent applications making these kinds of changes. (It's a big security risk if applications can just mess around with it.) I don't know the solution to your question but am curious myself too.
ASKER CERTIFIED SOLUTION
Avatar of BlackTigerX
BlackTigerX

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

ASKER

I found the keys that I should modify in the registry but it requires writing multi-string value to the registry. I know how to write a string value to registry but i don't know how to write a multi-string value.I found an answer on Experts-Exchange to writing multi-string but it wasn't useful for me. I couldn't write the code corrctly.can you write for me a sample code for writing multi-string values to the registry ?
Thank You.