Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cut and Paste from General field into a WordPerfect Docu
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00586092
Message ID:
00586817
Vues:
13
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform