Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print rich text from a Text Box
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00145964
Message ID:
00146276
Vues:
35
Thanks for the info, George! I am not familiar with ShellExecute() - I assume it is a call to something in the Win32 api: does this allow you to run an EXE with its command line - like the VFP's RUN command?

>>Hi Dave!
>>
>>I would assume so (and its free! < g >). I don't think that WordPad has an OLE Automation interface, but it might have a DDE Print Verb that could be taken advantage of.
>>
>>>Rick,
>>>
>>>Can't Wordpad be used to print too? Since that ships with Win95 everyone can install it.
>>>
>>>>Another approach is to write out your RTF to a file and use OLE automation to get Microsoft Word to open and print it for you.
>
>Hi Rick,
>
>Actually, I don't think it has either. However, using ShellExecute() you could use whatever application is associated with the RTF format to print the file.
>
>hth,
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform