-
I need my program to start at start-up using one of those 2 options. I would prefer to use the registry, but I am having a hard time creating the keys, etc. If someone could show me the code for it, that would be great. Thanks.
-
for win.ini, put a line in the [windows] section:
RUN=Yourprogrampathandfilename.exe
For the registry, look up the API to read and write to it, but you use this directory:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
-
Phobic is exactly right if you want the program to run for every user who uses the computer. If you have profiles on the computer and only want to affect specific users then you would place the reference to your program in the following registry location:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
-
Hello,
If you post your e-mail address here then I will send you the code for the registry as it is quite long.
Hear from you soon,
Desire
-
Here's my e-mail
Also, can you also send me the code to remove it from registry? Thanks. My e-mail is [email protected]