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("QueryCancelAutoPlay") 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.
Thanks in advance,