Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wordperfect to ASCII file conversion in Visual Foxpro?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00017131
Message ID:
00017168
Views:
60
>I am working on a Visual Foxpro 3 app (running on Windows 3) that needs to convert Wordperfect Windows 5.2 and 6 documents to ASCII format. Is there an API I can call from within VFP to do this or do I have to use OLE to call Wordperfect for every document (there will be high volume sometimes 100 documents at a time). The client is insistent on this process I can do nothing to change the requirements. Thanks for any help.

Hi Rick,
You can use either 'DDE' calls to wordperfect or run worperfect
from within Foxpro using a wordperfect macro that will do the job,
I think both of this method are easier than OLE.
I have used the second method sucesfully for a long time, to
'merge' information from Foxpro databases into wordperfect
documents, i.e. to send letters to a group of people, the first
method, 'DDE' calls, I haven't used with wordperfect, but I'm
sure it could work too. You are going to need to create a macro
that opens the document(s) and then save those documents in
ASCII, after that from within foxpro you can do something like:
RUN /N ...\wpwin.exe -M my_macro.wcm
Or using 'DDE' calls to control wordperfect from within Foxpro,
The 'DDE' calls will give you more control, but the
macro is going to be easier, if you need additional help please
let me know.
=HOPE_this_help()
=THIS.good_luck()
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Previous
Reply
Map
View

Click here to load this message in the networking platform