Question Clickone application on windows start

Zexor

Well-known member
Joined
Nov 28, 2008
Messages
520
Programming Experience
3-5
I have an ClickOnce application that will update before it starts. I want it to start everytime windows starts. Putting the shortcut in startup doesnt seem to work too well. Application.ExecutablePath runs it but all the my.settings are gone. What do i need to put in the register on Run for this to work?
 
Make a key in the "HKCU\Software\Miscrosoft\Windows\CurrentVersion\Run" node in the registry that points to your app. That way whenever the user logs in, your app starts up.
 
yeah, thats what i did, but it doesnt work to point to the application.executablepath. All the settings are gone if i do that. now am just pointing it to the shortcut it creates and see if it works
 
Back
Top