Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Confirming Existence
Message
From
17/06/2010 07:19:30
 
 
To
16/06/2010 18:24:36
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01469323
Message ID:
01469391
Views:
48
>From within VFP, I simply want to confirm whether or not Word is installed. Obviously I can do so with --
>
>TRY
>oWord = CREATEOBJECT("Word.Application")
>CATCH
>oWord = NULL
>
>-- and then VARTYPE().
>
>Is there a better way?
>
>TIA,
>-m.
IF TYPE('CREATEOBJECT("Word.Application")') == 'O'
...
Of course 2 ns after this can to be not true.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform