Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open a word doc in modal form??
Message
De
19/06/2007 10:27:57
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01234220
Message ID:
01234262
Vues:
30
>>You should do it differently:
>>1. Link oWord to form property, i.e.
>>Thisform.oWordapp=Createobject("word.application")
>>2. Check VarType(Thisform.oWordapp) and IsNull(Thisform.oWordapp) in Form.QueryUnload to prevent closing.
>
>Hi Ed,
>
>I found that checking for vartype = 'O' is not enough. After I added a check for visible = .t. it worked.

Did you try IsNull?
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform