Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word GetObject() - WHACKED?????
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00538237
Message ID:
00538250
Vues:
8
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform