Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DoVerb()
Message
De
19/08/2003 07:46:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00821077
Message ID:
00821321
Vues:
22
Hi Ron

>Does anyone have more information on the DoVerb() function?
>I am using it to open Word when I click on the OLE link, But I would like to Open a word file, print it, and close the file, as part of a report form.
>

Sorry, I an't answer your specific question, but I was wondering why you don't use automation to do this? You can get a reference to word using:
oWord = CREATEOBJECT( "word.application" )
oWord.Documents.Open( 'testdoc')
oDoc = oWord.ActiveDocument
This could be embedded in a UDF called from the report...
----
Regards
Andy Kramek
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform