|
-
Mar 17th, 2000, 11:11 AM
#1
Thread Starter
New Member
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.
-
Mar 17th, 2000, 09:27 PM
#2
Hyperactive Member
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
-
Mar 17th, 2000, 09:49 PM
#3
Addicted Member
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
-
Mar 18th, 2000, 02:32 AM
#4
Lively Member
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
-
Mar 18th, 2000, 02:42 AM
#5
Thread Starter
New Member
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]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|