Results 1 to 8 of 8

Thread: Autostart

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2000
    Posts
    84

    Autostart

    I want to have something in my program to start when I insert a CD in my computer. How should this be done ??

  2. #2
    PowerPoster Beacon's Avatar
    Join Date
    Jan 2001
    Location
    Pub Floor
    Posts
    3,188
    Use autorun?

    autorun.inf

    In a text file type:
    [autorun]
    OPEN=autorun.exe ' name of your program
    ICON=sky.ico 'choose an icon.

  3. #3
    MerryVIP
    Guest
    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

  4. #4
    PowerPoster Beacon's Avatar
    Join Date
    Jan 2001
    Location
    Pub Floor
    Posts
    3,188
    I'm sure there a noice API call to get around that if someone tried!

    Mathew Anyone???

  5. #5
    MerryVIP
    Guest
    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?

  6. #6
    PowerPoster Beacon's Avatar
    Join Date
    Jan 2001
    Location
    Pub Floor
    Posts
    3,188
    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?

  7. #7
    PowerPoster Beacon's Avatar
    Join Date
    Jan 2001
    Location
    Pub Floor
    Posts
    3,188
    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!

  8. #8
    MerryVIP
    Guest
    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
  •  



Click Here to Expand Forum to Full Width