Hi

I work on a anti-virus programm.
The anti-virus program should start when you boot the computer. So I thought it is good to use a HKey to start it always.


How can I make such a HKey which starts my program?

thx

In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run you can put your program to run on startup. There is also similar keys in each users registry (if it isn't meant for all users of a computer).

thanks for the good answer

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.