Hi!

In my project user is supposed to switch between different audio -cd's
during the runtime. But when a new cd has been inserted, Windows
automatically launches Media Player (or whatever default player there is).
This is NOT good. Is there a way around this?

I tried this with Buddy API: (changes Windows registry so that autorun
should be disabled..)

This turns it off:
baWriteRegBinary("Software\Microsoft\Windows\CurrentVersion\Policies\Explore
r","NoDriveTypeAutoRun",[181,0,0,0],"HKEY_CURRENT_USER")

This turns it on:
baWriteRegBinary("Software\Microsoft\Windows\CurrentVersion\Policies\Explore
r","NoDriveTypeAutoRun",[149,0,0,0],"HKEY_CURRENT_USER")

It DID change the registry allright, but Media Player just kept on
launching...

Any ideas, anyone? 


(I've been asking this couple times before, but you never know...)
Cheers, Jussi Jokinen


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to