Enabling/disabling a device
-
Hi, I have a problem with a USB device in that it frequently fails when I try to connect to it to update its application. The manufacturer points out that this is a known problem and the solution is to disable and re-enable the device in Device Manager but this is, when I update the application to test something sometimes once a few minutes, a rather tedious and slow task. The two devices, as listed in Device Manager are "Communications cable between two computers" in "Modem" and "SAGEM MONETEL EFT30 USB PORT (COM5) in "Ports (COM & LPT)". Does anyone know how I can do this or what API I can use to do it? Thanks in advance :cool:
-
Hi, I have a problem with a USB device in that it frequently fails when I try to connect to it to update its application. The manufacturer points out that this is a known problem and the solution is to disable and re-enable the device in Device Manager but this is, when I update the application to test something sometimes once a few minutes, a rather tedious and slow task. The two devices, as listed in Device Manager are "Communications cable between two computers" in "Modem" and "SAGEM MONETEL EFT30 USB PORT (COM5) in "Ports (COM & LPT)". Does anyone know how I can do this or what API I can use to do it? Thanks in advance :cool:
-
Hi, I have a problem with a USB device in that it frequently fails when I try to connect to it to update its application. The manufacturer points out that this is a known problem and the solution is to disable and re-enable the device in Device Manager but this is, when I update the application to test something sometimes once a few minutes, a rather tedious and slow task. The two devices, as listed in Device Manager are "Communications cable between two computers" in "Modem" and "SAGEM MONETEL EFT30 USB PORT (COM5) in "Ports (COM & LPT)". Does anyone know how I can do this or what API I can use to do it? Thanks in advance :cool:
-
Each time when I plug in USB memory stick to the pc, there is a window pops out. I have application to indicate whether a USB memory stick presents.I don't want this auto window to pop out. How shall I resolve it??:confused:
-
look at the setupdixxx functions, you can enable and disable a device programaticaly.
Truth is the subjection of reality to an individuals perception