Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open 2nd CD drive door
Message
From
01/02/2006 19:52:39
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01092639
Message ID:
01092671
Views:
26
This message has been marked as the solution to the initial question of the thread.
>I've used this in the past and it does work for opening the first CD drive door:
>
>
DECLARE integer mciSendString IN WINMM.DLL string, string, integer,integer
>?mciSendString('set cdaudio door open wait',"",0,0)
>
>What do I use to open/close other CD drives?


Hi Fred,

You can use an alias name:
cCDDrive2 = 'G:'
mciSendString('Open ' + cCDDrive2 + ' type CDAudio alias CD2', Null, 0, 0)
mciSendString('Set CD2 door open wait', Null, 0, 0)
HTH
Herman
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform