Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word GetObject() - WHACKED?????
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00538237
Message ID:
00538250
Views:
9
>Sitting here again in a VFP training class and have encountered something very weird, no, not a mirror. < g >
>
>Using GETOBJECT with a Word 2000 document loads the doc up on my laptop that has Office 2000 Professional installed. BUT, the student machines just have Word 2000 installed, NOT the entire Office suite. The problem is that the following code works fine on my laptop BUT brings up Word, but without the document loaded.
>
>oMyWord = GETOBJECT("C:\VFPTraining\letter.doc")
>
>Yes, the document exists on the student machine and my laptop.
>
>The question is, does GETOBJECT() only work correctly when full blown Office is installed or should it work if only Word is installed??

Jim,

This won't answer your question directly, but it may be of interest. Due to changes in the way all Office 2000 applications work, GETOBJECT() is pretty much (IMV) pointless. Since each application is more or less an SDI application, I just use CREATEOBJECT() with them.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform