Auto pop-up a program when USB device connected
-
Hi all, I need to be able to automatically run a program of my choice, say an .exe or a VC++ program, when a particular USB device is plugged in. Does anyone know how to do it, or know where i can find more information about this topic? any help is greatly appreciated! thanks and regards, Alvin
-
Hi all, I need to be able to automatically run a program of my choice, say an .exe or a VC++ program, when a particular USB device is plugged in. Does anyone know how to do it, or know where i can find more information about this topic? any help is greatly appreciated! thanks and regards, Alvin
I think you are using Windows environment. Assuming the same, this is how Windows OS works. There is a service called Plug And Play (see services.msc) and you will see this service as running (generally) on computer systems. This is the service which keeps the track of any device plugged in/out from the PC. Either you create a windows service which checks these ports or you hook your application with system service to get the notification about any device added/removed from the system and accordingly execute the next steps. Let me know if you need any further help on this.
-
Hi all, I need to be able to automatically run a program of my choice, say an .exe or a VC++ program, when a particular USB device is plugged in. Does anyone know how to do it, or know where i can find more information about this topic? any help is greatly appreciated! thanks and regards, Alvin
-
I think you are using Windows environment. Assuming the same, this is how Windows OS works. There is a service called Plug And Play (see services.msc) and you will see this service as running (generally) on computer systems. This is the service which keeps the track of any device plugged in/out from the PC. Either you create a windows service which checks these ports or you hook your application with system service to get the notification about any device added/removed from the system and accordingly execute the next steps. Let me know if you need any further help on this.
I have Windows XP Home. I have an external Buffalo hard disk partitioned. When I "safely remove" the drives 2 partitions remain in Explorer and Defrag sees them too. Other than the icons just being there I think they are messing up my being able to get Microsoft Updates even though I have a genuine Windows copy installed on my 2002 Hewelett Packard Pavilion 762n. Any idea on how to fix this? Thanks
BSOD lost C: and no recovery disks. No restore program to access D: Retired Ron