>[Reg KEY] >HKEY_USERS\Software\Microsoft\Windows\CurrentVersion\Internet Settings >[Key Values] >EnableAutodisconnect 0000 01 00 00 00 >Actually, I have done the footwork and I have resolved the issue.
sDataName = "EnableAutoDisconnect" sKeyName = "Software\Microsoft\Windows\CurrentVersion\Internet Settings" sDataValue = &O0 lLen = Len(sDataValue) ret& = RegOpenKeyEx(HKEY_USERS, sKeyName, 0, 0, lphKey&) 'lphKey is the keys handle ret& = RegSetValueEx(lphKey&, sDataName, 0, REG_BIN, sDataValue, lLen) 'REG_BIN = 3 ret& = RegFlushKey(lphKey&) ' Uncache the new data (Force immediate write)To set a two-part string key use RegSetValueExString() otherwise you might need some asprin sooner than you like. :) I am currently working on the retrieval of the keys' information to be used in the app. When this is done I will release everything to the thread. :)
"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams