Click to See Complete Forum and Search --> : How ... ?


ISMSH
April 4th, 2004, 12:58 PM
Hellow guys ...

well i want to know how to make my program read the fils from the CD ?

like games for example its reading it fils from the CD , and everytime u want to play that game u have to put the CD on .



Thanks :)

kasracer
April 4th, 2004, 01:05 PM
If your program is on the CD with the files, just use relative paths and it'll read them fine.

If your program is on the person's PC and the files are on the CD (they're all seperated), check out these links and see if they help you:
http://www.dotnet247.com/247reference/msgs/25/125900.aspx
http://www.codeproject.com/cs/miscctrl/DriveComboBox2.asp

If you need more help later, I can post an example of figuring out what CD drive has a disc in it and reading from it. I plan on adding classes to my library that do this.

ISMSH
April 5th, 2004, 01:18 PM
Thanks Mr.kasracer

i will see this Examples and if it didn't work with me i will ask u again :)