Archive: Install to System Tray on start up


Install to System Tray on start up
I'm able to get the program to run on start up, but is there a way to specify it to start in the system tray?

Also, I can't get it to remove the registry key when its uninstalled. I have DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Run\[program name]" but it doesn't remove it.


Is the program written to work in the system tray? If it's not, you can't start it in the tray.

Use DeleteRegValue instead of DeleteRegKey to remove the Run entry. Keys are containers (like folders), they contain other keys and values.

Don


Okay, thanks. Simple enough for the registry issue.

Also, I've decided it seems simpler to add a command line parameter to the Startup exe, but I've been unsuccessful in doing so.