XP AutoPlay Error
-
Hello, I wrote applications that suppose to open automatically by the auto play mechanism of the WinXP, I entered the correct values to the registry and the application start ok. The problem I have is that I get a message box with error every time: 'E:\ The device is not ready' Any ideas what is the problem? The Registry settings: -------------------------------------------------------------------- [HKEY_CLASSES_ROOT\MyApplication] @="ImageDownload" [HKEY_CLASSES_ROOT\MyApplication\shell] [HKEY_CLASSES_ROOT\MyApplication\shell\open] [HKEY_CLASSES_ROOT\MyApplication\shell\open\command] @="C:\\Work\\Private\\MyApplication\\Debug\\MyApplication.exe \"%1\"" [HKEY_CLASSES_ROOT\MyApplication\shell\open\ddeexec] @="[open(\"%1\")]" -------------------------------------------------------------------- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\MyApplication] "Action"="MyApplication" "DefaultIcon"="C:\\Work\\Private\\MyApplication\\Debug\\MyApplication.exe,0" "InvokeProgID"="MyApplication" "InvokeVerb"="open" "Provider"="MyApplication" -------------------------------------------------------------------- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlers\ShowPicturesOnArrival] "MyApplication"="" --------------------------------------------------------------------
-
Hello, I wrote applications that suppose to open automatically by the auto play mechanism of the WinXP, I entered the correct values to the registry and the application start ok. The problem I have is that I get a message box with error every time: 'E:\ The device is not ready' Any ideas what is the problem? The Registry settings: -------------------------------------------------------------------- [HKEY_CLASSES_ROOT\MyApplication] @="ImageDownload" [HKEY_CLASSES_ROOT\MyApplication\shell] [HKEY_CLASSES_ROOT\MyApplication\shell\open] [HKEY_CLASSES_ROOT\MyApplication\shell\open\command] @="C:\\Work\\Private\\MyApplication\\Debug\\MyApplication.exe \"%1\"" [HKEY_CLASSES_ROOT\MyApplication\shell\open\ddeexec] @="[open(\"%1\")]" -------------------------------------------------------------------- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\MyApplication] "Action"="MyApplication" "DefaultIcon"="C:\\Work\\Private\\MyApplication\\Debug\\MyApplication.exe,0" "InvokeProgID"="MyApplication" "InvokeVerb"="open" "Provider"="MyApplication" -------------------------------------------------------------------- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlers\ShowPicturesOnArrival] "MyApplication"="" --------------------------------------------------------------------
Hi, I am sorry, I do not have the answer to your question but another one with which you can help, I guess. I just entered all the correct values into the registry, but my application does NOT start. Is there anything I have to do from within the application? I verified my entries by starting another application, which works fine. But my own does not start at all. Any ideas? Thanks, Sathie