Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Confirming Existence
Message
From
19/06/2010 14:46:51
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
18/06/2010 23:20:39
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01469323
Message ID:
01469771
Views:
37
>Thank you, Sergey and Fabio.
>
>(1) I want to determine if Word is installed on the user's machine, not a server. I have not yet tried to modify the server-oriented code suggested by Sergey.
>
>(2) I tried the CREATEOBJECT("Word.application") approach, but I have encountered a problem. My machine does NOT have Word or Excel installed, but loWord = CREATEOBJECT() still instantiates an object (with loWord.Name = "Microsoft Word")!! My machine DOES have the OpenOffice suite installed, with the DOC file type associated with OpenOffice Writer. I also have the XLS file type associated with OpenOffice Calc -- and the same thing occurs: CREATEOBJECT("Excel.Application") successfully instantiates an object with Name = "Microsoft Excel"!!
>
>Hmmmm....
>
>(NOTE: My machine is a near-new Toshiba Satellite laptop running Win 7 Home.)

My wife's Toshiba Satellite came with Office 2007 demo installed. Check yours.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform