General information
Category:
ActiveX controls in VFP
Title:
Printing from the Rich Text Control
I am trying to print from the MS rich text control. They give an example of how to print from the control in the help file...but the example is VB based and does not seem to work.
ThisForm.oleCommonDialog.ShowPrinter && Displays dialog just fine...
* there is a command here that I do not know how to replicate in VFP
* Printer.Print ""
* but I'm guessing is my missing link...Then,
ThisForm.oleRTC.SelPrint(ThisForm.oleCommonDialog.hDC)
I get an error on the above line that I have an invalid HDC...
Any ideas how to correct this?
Thanks in advance.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only