This is a discussion on Autoplay When USB is inserted using C# within the C# Programming forums, part of the Software Development category; hi, I need to open application in Autoplay..like images are need to load when user inserting USB PEN/CD ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| hi, I need to open application in Autoplay..like images are need to load when user inserting USB PEN/CD drive.. Can someone help
__________________ The MOSS Master of Solution Service |
| Sponsored Links |
| |||
| hey, Do u want to detect USB and load images is normal process like detecting drive on Arrival Event...or u want to load images in ur application in autoplay menu.. |
| |||
| You need to create reg key for Handler: HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows CurrentVersion Explorer AutoplayHandlers Handlers AutoPlayOnArrival Action [REG_SZ]= Load Files DefaultIcon [REG_EXPAND_SZ]= \AutoPlayListener.dll, InvokeProgID [REG_SZ]= AutoPlayOnArrivalHandler InvokeVerb [REG_SZ]= import Provider [REG_SZ]= Autoplay Demo * Action: Text string that represents what action the application will take with regard to the content type that triggered an Autoplay response. * DefaultIcon: Icon that represents the application in the Autoplay UI. * InvokeProgID: This is the ProgID of an application or COM component providing a Shell sub key that will be invoked. * InvokeVerb: This is the verb under the ProgID specified in the InvokeProgID value. * ProviderText: The string that represents the application. HKEY_CLASSES_ROOT Almdal.AutoPlayListener.AutoPlayOnArrivalHandler shell import DropTarget ClSID= We want to be notified when image arrive, HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows CurrentVersion Explorer AutoplayHandlers EventHandlers ShowPicturesOnArrival Demo This things are registered in registry...and important thing is u have to write code for getting files from the USB to ur application while the application is selected in the autoplay menu.. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Get a inserted record field value in PHP-mySQL | venkat_charya | PHP Programming | 0 | 08-24-2007 09:52 AM |
| which method to use so that last inserted value can be retrieve. | KiruthikaSambandam | Database Support | 1 | 08-07-2007 12:13 AM |