Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Suppressing AutoRun Programmatically
Message
 
 
À
10/07/2003 16:25:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00809006
Message ID:
00811897
Vues:
28
Hi Scott,

There's COM object at http://nsvisual.com/fox2/sol/index.php?act=view&id=289 that allows to process windows messages in VFP but the doc's are in Russian.

>I have an application where I want to suppress AutoRun when the user inserts a CD. I've looked at the M$ page at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/autorun/autoplay_reg.asp
>which shows how to do it in C but that's out of my league.
>
>I took a look at modifying the registry settings but that requires a reboot to recognize the modified settings and (tongue in cheek) would disrupt the workflow.
>
>I downloaded MessageCatcher ActiveX but all it does is catch messages with no methods for posting a message. I guess you could say it'd be good if I were a C programmer but that's been way too many years ago.
>
>At this point I'm ready to (a) have the instructions written up telling the user to first hold down the shift key then insert the CD or (b) throw in the towel. If I can't find an answer the towel gets it.
>
>Thanks,
>
>Scott
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform