Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DoVerb()
Message
From
19/08/2003 07:46:50
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00821077
Message ID:
00821321
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform