Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to control Wordpad via automation?
Message
From
06/11/2004 18:02:07
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
06/11/2004 16:54:31
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00958909
Message ID:
00958927
Views:
16
>What I am trying to do is allow my users to create a document template which makes reference to table fields (for example {less than}{less than} Employee.Salary {greater than}{greater than} ) and then print the document. I figured RTF would be the best format to use because it is documented and non propietary.
>
>My customers usually have Word, but not in every machine. Are there any other alternatives?
>
>TIA,
>
>Alex

How about the RTF ActiveX control, which you can embed within a VFP form. See the samples that come with VFP.

Or, depending on the formatting needs, even an EditBox might be enough.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform