Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to control Wordpad via automation?
Message
From
06/11/2004 18:27:38
 
 
To
06/11/2004 18:02:07
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00958909
Message ID:
00958928
Views:
17
>>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.

The RTF ActiveX control was the approach I was taking, but ran into the problem of how to print the report, which led to this thread. If we have to use Word anyway a better approach is to use the mail merge facility as explained in "Office Automation with VFP".

Thanks.

Alex
Previous
Reply
Map
View

Click here to load this message in the networking platform