[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 176
  • Last Modified:

Registry Changes

I need to change the key...
 HKEY_USERS\DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\EnableAutodial

I have some code that is supposed to allow reads and writes to the registry, but it will not change this key properly.  I dont know what kind of key it is, but it looks like
01 00 00 00
 and I need to switch it to
00 00 00 00
and back to
01 00 00 00
with command buttons.

Please point me in the right direction.

Tom

0
Tom_Hickerson
Asked:
Tom_Hickerson
1 Solution
 
mcriderCommented:
See the following microsoft KB article:

HOWTO: Use the Registry API to Save and Retrieve Setting
http://support.microsoft.com/support/kb/articles/Q145/6/79.asp?LNG=ENG&SA=MSDN 
 


Cheers!

0
 
Tom_HickersonAuthor Commented:
I need more that that.  Give me the specific code I need to use and what type of key that is.

Thanks
0
 
tommy_boyCommented:
should have said please...
0
 
shyamkumarreddyCommented:
Hi tom


Here is the best answer available to u.

use api functions

regkeyopen open the registry key and have handle to that


regsetvaluex to set the registry key value

then
regkeyclose handle to close the handle.


use this method for edit values in registry.


use these codes in different command button and see working.


0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now