Originally posted by soothu kusu
SaveSettingString HKEY_LOCAL_MACHINE, "Software\Microsoft\Windows\CurrentVersion\Run", "yourappname", App.Path & "\yourapp.exe"
There is no VB function "SaveSettingString". Do you have the declarations and code for this routine? I assume it uses complex registry APIs.

The VB SaveSetting command wil always write to sub-keys in HKey_Current_User\Software\VB and VBA Program Settings. So it won't look in the registry at the correct point.