Sven Olof Olsen
May 18th, 1999, 04:23 AM
Hello
I'm trying to read the DHCPServer configurations from registry. When I'm trying to read the value StartAddress from the following key;
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCPServer\Configuration\Subnets\xxx.xxx.xxx.xxx\IpRanges\xxx.xxx.xxx.xxx
The data is a REG_DWORD and the value is save as a hex value, ex;
0x93d66502 this is decimal 2480301314
This value is to big for VB to handle, so the result I'm getting is something like 1.115464484456675E-314,5 and this is an invalid value.
Does anyone know how to read this value.
Thanks
I'm trying to read the DHCPServer configurations from registry. When I'm trying to read the value StartAddress from the following key;
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCPServer\Configuration\Subnets\xxx.xxx.xxx.xxx\IpRanges\xxx.xxx.xxx.xxx
The data is a REG_DWORD and the value is save as a hex value, ex;
0x93d66502 this is decimal 2480301314
This value is to big for VB to handle, so the result I'm getting is something like 1.115464484456675E-314,5 and this is an invalid value.
Does anyone know how to read this value.
Thanks