Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Embedded Word97 AutoOpen Macros
Message
De
02/12/1999 16:43:17
 
 
À
02/12/1999 10:10:15
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00297885
Message ID:
00298188
Vues:
15
>I have a VFP 6.0 SP3 form that has embedded WordPerfect Macro files in
>it. Some of my users are using Word97 instead of Word Perfect so I
>created the same settings for them in Word by creating a macro called
>AutoOpen in a document. When I open the document normally in Word, the
>macro runs the way its supposed to, but when I embed the document in a
>form and go to test it, the macro doesn't run and I end up with Word
>showing 'Document in Unnamed' or something like that. The document
>has the macro called AutoOpen in it, it just doesn't run.
>
>I know AutoOpen is a valid macro in Word, but I want to know why it
>doesn't work when its embedded in a form. I can't find help for it in
>the MS Word help, or in the VB Help that ships with Word. Does anyone
>know how to make it work in VFP?
>
>Jeff.

Bear in mind that the AutoOpen macro is the underpinnings for most Word macro viruses. Latter versions of Word let you disable these macros by default; also the auto-scanning feature of some antivirus packages might intercept them.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform