Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE Control of Word 97
Message
De
11/06/1997 18:36:19
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
OLE Control of Word 97
Divers
Thread ID:
00036000
Message ID:
00036000
Vues:
103
Does anyone know the commands to start Word 97, open a file, and then print it using OLE from Visual FoxPro? I can get it to work with older versions of Word, but with Word 97 I can only create the object, and make it visible. The code I am using is as follows:

ox=createobject('word.document') && this works fine
ox.application.visible=.t. && this also works
ox.fileopen(thisfile) && this returns an unknown name error

TIA

Rick
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform