talker2004
asked on
Integrate .Net Framework Application into Windows Autoplay Features
I want to integrate an application into the autoplay feature of windows so that i can detect when a user plugs in a memory card into their computer. How do you get your applications icon Listed in the Auto Play feature of windows.
ASKER
The feature of windows i am referring to is called AutoPlay. When you insert a disk / memory card into your computer windows responds with the autoplay window prompting you with a list of options. An example is that when i insert a blank cd the autoplay window appears and one of the options are to burn with Nero. Since Nero is a 3rd party application i would like to know how they got their icon registered in there. The feature you are referring to above is considered the AutoRun feature of windows.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
another Vista-specific FAQ http://windowshelp.microsoft.com/Windows/en-US/Help/7e1fe788-0747-4e00-895b-c3461b1ddd971033.mspx
HKLM\Software\Microsoft\Wi
name: any (it is ignored)
type: REG_SZ
data: path to your program, maybe - with parameters, e.g.
"C:\Program Files\Dell Support\DSAgnt.exe" /startup
You can use
HKCU\Software\Microsoft\Wi
if you want to start it only if the particular user logs in.
The application will start when a user logs in, and inherit this user's account permissions.
You can convert your application to become a system service. It will inherit system permissions, but such processes cannot have user interface.