Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open Word read/only, prevent save as, release variable
Message
De
30/07/2007 09:20:54
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01244081
Message ID:
01244537
Vues:
26
>>I tried
>>
>>if vartype(loWord.visible) = 'U'
>>   loWord = createobject("Word.Application")
>>endif
>>
>>
>>I get an error message that "RPC server is unavailable". How do I check if the server is available?
>>
>
>Strange error and strange check. Did you first check that loWord is an object?

I tried that first and it returned 'O'
>
>Always wrap createobject in try/catch block.

I have not used try/catch blocks yet. How would I do that?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform