Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print rich text from a Text Box
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00145964
Message ID:
00146276
Views:
34
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform