Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to control Wordpad via automation?
Message
De
06/11/2004 18:27:38
 
 
À
06/11/2004 18:02:07
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00958909
Message ID:
00958928
Vues:
18
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform