Visual Basic: Multimedia MCI Control
FileName Property (Multimedia MCI Control)
Specifies the file to be opened by an Open command or saved by a Save command. To change the FileName property at run time, you must close and reopen the Multimedia MCI control.
[form.]MMControl.FileName[ = stringexpression$]
The argument stringexpression$ specifies the file to be opened or saved.
If a computer has more than one CD-ROM drive installed, you can designate which drive to use by setting the FileName property to the drive, as shown below:
MMControl1.DeviceType = "CDAudio" MMControl1.FileName = "E:" MMControl1.Command = "Open"