nokia6300 Posted April 4, 2009 Share Posted April 4, 2009 How can I use DriveGetDrive option to check all the drives attched on PC & then tell it by using DriveGetType I want to tell it that if it CDROm then open the CD room??? Link to comment Share on other sites More sharing options...
maqleod Posted April 4, 2009 Share Posted April 4, 2009 (edited) How can I use DriveGetDrive option to check all the drives attched on PC & then tell it by using DriveGetType I want to tell it that if it CDROm then open the CD room??? $cdroms = DriveGetDrive("CDROM") for $i = 1 to $cdroms[0] CDTray ($cdrom[$i], "open" ) Next Edited April 4, 2009 by maqleod [u]You can download my projects at:[/u] Pulsar Software Link to comment Share on other sites More sharing options...
nokia6300 Posted April 4, 2009 Author Share Posted April 4, 2009 Can U show me by using conditional statement like "IF" how can we do the same ting?? Link to comment Share on other sites More sharing options...
maqleod Posted April 4, 2009 Share Posted April 4, 2009 Can U show me by using conditional statement like "IF" how can we do the same ting??why do you even need an if statement?$cdroms = DriveGetDrive("CDROM") singles out the cdroms already. [u]You can download my projects at:[/u] Pulsar Software Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now