How to make visual basic application run when double click cd drive/usb drive
I'm creating a little application in visual basic 2010 express to mount/dismount a truecrypt volume thats stored on a USB drive.
I want this application to autorun when someone double clicks on the USB device.
How can i do this?
It's for windows XP and 7.
I tried the autorun.inf way of
When I double click the usb drive it doesnt launch the application. Can i do something in visual basics to make the application autorun?
I want it to work like when you insert a windows cd into your pc. If you insert windows XP and go my computer and double click the cd drive the setup.exe will launch. I want exactly this, just it needs to work on a usb device and launch my visual basic application