Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting the ole server before issuing creatobj()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00347101
Message ID:
00347312
Vues:
16
Neil,

Rick Strahl published a function IsCOMObject() in FPA last year. It checks in the registry for an entry for the COM Server.

Cheers,

Andrew

>Hi fellow UTers
>
>I installed an app at a client site. The app uses automation to gain access to WORD and OUTLOOK. The client did not have WORD installed. I issued oWordDocument=createobject("word.application") in a method and hit the wall. How do you check for the presence of the server before trying to create the object.
>
>Thanx
>Neil


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform