|
-
May 15th, 2001, 01:59 AM
#1
Thread Starter
Lively Member
Autostart
I want to have something in my program to start when I insert a CD in my computer. How should this be done ??
-
May 15th, 2001, 02:05 AM
#2
PowerPoster
Use autorun?
autorun.inf
In a text file type:
[autorun]
OPEN=autorun.exe ' name of your program
ICON=sky.ico 'choose an icon.
-
May 15th, 2001, 02:09 AM
#3
Autorun.inf doesn't work if AutoPlay is off. When it's off, there is really no way to make the program autolaunch. And I hate autolaunching things anyways, so I have AutoPlay off
-
May 15th, 2001, 02:16 AM
#4
PowerPoster
I'm sure there a noice API call to get around that if someone tried!
Mathew Anyone???
-
May 15th, 2001, 02:42 AM
#5
Yes yes, but the problem is you have to have a program open to see if CD is inserted. He wants a program to automatically open when CD is inserted, not a program to see if CD is inserted. Get it?
-
May 15th, 2001, 02:51 AM
#6
PowerPoster
No i dont get it!
I thought he was chasing something that made his program run when the cd was inserted into the cd drive?
-
May 15th, 2001, 03:11 AM
#7
PowerPoster
MerryVIP:
Yes yes, but the problem is you have to have a program open to see if CD is inserted. He wants a program to automatically open when CD is inserted, not a program to see if CD is inserted. Get it?
If the autorun.inf file is on the same cd his program is when he inserts the cd it will run the program! On most machines!
What program do you need to see if a cd is inserted!
-
May 15th, 2001, 04:40 AM
#8
Now I'm a bit confused. But I have a headache anyways...
1: How to make my program autolaunch from a CD?
2: Autorun.inf
3: Autorun.inf doesn't work in some computers because AutoPlay is set off
After this I'm a bit confused. We aren't making a program detecting if a CD is inserted, are we? And you are saying the same. That makes me confused. So, question answered, no more replies
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
|