Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cut and Paste from General field into a WordPerfect Docu
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00586092
Message ID:
00586817
Views:
12
>>How to automate WordPerfect from Microsoft Visual FoxPro6.0 to open document and pass a few fields to the document?
>
>You didn't mention how far you had managed to get?
>
>
>loApp = createobject("WordPerfect.PerfectScript")
>loApp.FileOpen(lcFileName)
>loApp.Type("Hello World")
>loApp.Quit()
>loApp=.NULL.
>
>
>HTH

Sorry did you spot the error! the code should read:-
loApp = createobject("WordPerfect.PerfectScript")
=loApp.FileOpen(lcFileName)
=loApp.Type("Hello World")
=loApp.Quit()
loApp=.NULL.
HTH
Caroline
Previous
Reply
Map
View

Click here to load this message in the networking platform