Results 1 to 2 of 2

Thread: CD(-Rom) Access

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 1999
    Posts
    3

    Post

    I just need help by accessing the CDRom via VB. How can i detect the lenght of a single track? how can i detect the number and typ of tracks on a cd-rom? Thanks for help...

    Happy new year.
    Wolf

  2. #2
    Lively Member
    Join Date
    Feb 1999
    Location
    France
    Posts
    90

    Post

    Not too sure what you mean. People won't be able to interefere with the length of your tracks if it's on CD-ROM, as it's read only. You will already know this information so you can give it to them quite easily.

    To start your VB program automatically when someone inserts the CD in the drive include an autorun file on the CD, at the very root - not in any folders or anything. This is a simple text file, and call it 'Autorun'. For example, if your .exe is called MyApp.exe, in the autorun file include the following text:

    [autorun]

    open=MyApp.EXE

    This should start your program automatically. And in your program you could have, in a text box or something, the length of each track.

    Happy New Year!

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