I wrote a countdown program, and I want my program to start automatically when Windows starts. What should I do? Should just add some code, right? Thank you
Modify the registry
Method 1. [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] Build a REG_SZ string type. Enter your executable program path.
Method 2. Change your program to a service program.