erikh
03-28-2001, 03:03 AM
I am using VB to change reg settings and I can't figure out how to find the correct key in code to change the IP address for my network card. I know that each network device is enumerated in 'HKLM\System\CurrentControlSet\Services\Class\NetT rans\' but I do not see how to tell which is the network card and which is the modem. 'HKLM\System\CurrentControlSet\Services\Class\Net\ ' contains a key for each device and you can see the difference from there using the 'DriverDesc' string value, but the key name does not necessarily correspond to the key name in '\NetTrans'. Is there a way I am not seeing to use one to get to the other, or am I going about it wrong to begin with?