oferz
asked on
Disable USB action prompt
Hello experts,
I developed a VB.Net application for a stand alone PC with XP OS, this PC was design to execute this application only.
Users plug in a disk on key / any mp3 player and the application lets the user to download mp3 tutorials to their players.
The application was developed as a KIOSK, no keyboard is connected, the hotkeys are disabled, taskbar hidden,I'm using RegisterWindowMessage("Que ryCancelAu toPlay") to disable the autoplay when the device is pluged in, etc etc.
I have only one problem remaining:
When a user plugs in a player with and external SD- windows shows a dialog box to choose an action (Open via explorer or view photos...), the window appears as topmost (also my application) and the users choose the open explorer option and the application is in the background.
I tried changing some registry values from 3 to 4 (I don't remember what keys), tried stopping the service: "WPDBusEnum" but no luck so far. I want to solve this problem without a 3rd party.
Please help.
Thanks in advance,
Ofer
I developed a VB.Net application for a stand alone PC with XP OS, this PC was design to execute this application only.
Users plug in a disk on key / any mp3 player and the application lets the user to download mp3 tutorials to their players.
The application was developed as a KIOSK, no keyboard is connected, the hotkeys are disabled, taskbar hidden,I'm using RegisterWindowMessage("Que
I have only one problem remaining:
When a user plugs in a player with and external SD- windows shows a dialog box to choose an action (Open via explorer or view photos...), the window appears as topmost (also my application) and the users choose the open explorer option and the application is in the background.
I tried changing some registry values from 3 to 4 (I don't remember what keys), tried stopping the service: "WPDBusEnum" but no luck so far. I want to solve this problem without a 3rd party.
Please help.
Thanks in advance,
Ofer
Also you can configure different things using Autoplay manager.
http://www.softpedia.com/get/System/OS-Enhancements/Autoplay-Repair.shtml
http://www.softpedia.com/get/System/OS-Enhancements/Autoplay-Repair.shtml
ASKER
Dear Anuroopsundd,
I cann't copy any autorun.inf because the application waits for the users to plug in their Mp3 players. Most of the players are fine and the RegisterWindowMessage("Que ryCancelAu toPlay") cancels the dialog box. Only players with aditional SD cause the problem.
As far as the 2nd solution, I do not want to use 3rd party solutions. I'm looking for a .Net / registry solution.
Thank you anyway,
Ofer
I cann't copy any autorun.inf because the application waits for the users to plug in their Mp3 players. Most of the players are fine and the RegisterWindowMessage("Que
As far as the 2nd solution, I do not want to use 3rd party solutions. I'm looking for a .Net / registry solution.
Thank you anyway,
Ofer
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you, I'll try it later and let you know.
ASKER
Thank you
http://dailycupoftech.com/usb-drive-autoruninf-tweaking/