Hi,
Some auto play info on windows xp
http://msdn.microsoft.com/library/de...k_cookbook.asp http://windowsxp.mvps.org/addautoplay.htm
Ken
-----------------
"Chad" <chad.caron@gmail.com> wrote in message
news:1141773615.839260.31890@j33g2000cwa.googlegro ups.com...[color=blue]
>I am in the process of writing an application that detects the
> insertion of a pen drive, and if a specific folder structure exists, it
> shows a form containing data.
>
> The problem is that when I insert the pen drive on some machines
> running Windows XP, a windows explorer window appears containing the
> contents of the pen drive. This window covers my application's window,
> even if my application window opens a few seconds later.
>
> How do I programmatically prevent this Explorer window from appearing?
> Is there some Registry setting? Is it a specific setting for this
> particular pen drive? I've tried playing around with the AutoPlay tab
> in the properties dialog for that particular drive, and it doesn't seem
> to help.
>
> Thanks in advance for any help anyone can provide!
> -Chad
>[/color]