what is the best way to add the vb.net application in startup apps of windows ? I got this code
Dim regKey As Microsoft.Win32.RegistryKeyregKey
regKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Run", True)
So i have finally finished an antivirus i was making in vb but i dont know how to add it to startup. If someone knows how to change the registry key every time my program is opened then please help me.
I have this weird issue:
I developed an application with a sequence like this:
login form -> mainform (=mdi parent) --> some functionform (mdi-child)--> report form
The reportform contains a reportviewer and will display different dataset queries depending on the state of some radio...
i am doing a system lock project, for that i need to run my application in windows startup, even in safemode startup?
i have added my application to run in normal startup by placing path in the registry like,
but its not working...