Hi, I need to develop an ActiveX control that can read CD's and USB drives.
Is there a good tutorial on developing sucha a control in visual studio using C#?
Hi, I need to develop an ActiveX control that can read CD's and USB drives.
Is there a good tutorial on developing sucha a control in visual studio using C#?
If you would like to get a list of drives and DoWork with the Removable and CDRom drives:
DriveInfo[] ListDrives = DriveInfo.GetDrives();
foreach (DriveInfo Drive in ListDrives)
{
if (Drive.DriveType.Removable || Drive.DriveType.CDRom)
{
//DoWork
}
}
Then you can check if what you would like to read exists and then read it.