Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 13 of 13

Thread: CD Tray

  1. #1
    Join Date
    Jun 2001
    Location
    California
    Posts
    2,014

    CD Tray

    Is there a way to open the CD tray from Ver.3?

  2. #2
    Join Date
    Jan 2000
    Location
    Seattle Area
    Posts
    107

    Re: CD Tray

    Personally, I use Index Finger 2.0...

  3. #3
    Join Date
    Jun 2001
    Location
    California
    Posts
    2,014

    Re: CD Tray

    Where can I get it?

  4. #4
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150

    Re: CD Tray

    check your Right hand [img]/ubbthreads/images/icons/wink.gif[/img]

  5. #5
    Join Date
    Jul 2002
    Location
    Winnipeg, Canada
    Posts
    12

  6. #6
    Join Date
    Jun 2001
    Location
    California
    Posts
    2,014

    Re: CD Tray

    I otta shave those sideburns! ;-) ( you got me!) What I'm trying to do is this:
    I've setup a 30 day trial period so that after the 30 days the CD will continue to get spit out of the tray. Now, kindly stick your finger on the keyboard and help me out. :-)

    Bruce

  7. #7
    Join Date
    Apr 2001
    Posts
    92

    Re: CD Tray

    I have not tested this, but it should work. Visit http://www.cmdtools.com and download the file Eject.zip. To pass it the CD-ROM drive letter, you could use %SrcDrv%

  8. #8
    Join Date
    Dec 1969
    Posts
    123

    Re: CD Tray

    Haw, hilarious... Rarely does one get a chance to see someone walk into something as cleanly as that, nice work boys.

    But seriously, here you go dude, works like a charm. You can easily do this in Delphi, Visual C++, with a Director extra, or several other ways. But this VB one's pretty good and the code is free...

    http://www.planet-source-code.com/xq...s/ShowCode.htm


  9. #9
    Join Date
    Dec 1969
    Posts
    123

    Re: CD Tray

    Sorry i cant help with v3 Bruce, i uninstalled it.
    When you get a copy of v4 .. this CallDLLFunction will work ... just paste it into an apporpriate place



    143
    0
    0
    1

    2

    0


    winmm.dll
    mciSendStringA
    "Set CDAudio Door Open",0,0
    1
    1
    %DLLResult%




  10. #10
    Join Date
    Jun 2001
    Location
    California
    Posts
    2,014

    Re: CD Tray

    Thanks Derek!

  11. #11
    Join Date
    Apr 2001
    Posts
    92

    Re: CD Tray

    I don't know if it is possible to open the tray without problems by issuing the command from within the same CD you are trying to eject. Good luck.

  12. #12
    Join Date
    Dec 1969
    Posts
    123

    Re: CD Tray

    It should if yu call the function at Project-OnClose

  13. #13
    Join Date
    Dec 1969
    Posts
    123

    Re: CD Tray

    Here's a little .exe I just did with VB which will open the default CD Tray if you need a workaround for now:

    http://www.indigorose.com/free/open.exe

    Wouldn't be hard to pass the active drive letter to that .exe also you can get around the thing about the file running from the ejected CD simply by running it from a temp directory if need be, although I think it'll run from the CD...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts