End Google Ads 201810 - BS.net 01 --> Hi,

I want to programmacally create an entry under
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run in Vista to make my application to Load at windows start up. But when trying to create an entry RegSetValueEx return Access denied error. How can i add an entry under Run programmatically using VC++. Whether there is any API to get an access right to Vista Registry. I am using Vista Home and VS 2005 to develop my application.


thanks

Nitheesh.

Jose Jo Martin

http://www.simpletools.co.in