General information
Category:
Forms & Form designer
The Obj2BMP class worked great. Problem solved. Thanks a million.
Steven
>Steven,
>
>If you've been able to draw the picture onto a VFP form or the VFP _screen then you can use the Obj2BMP tool that George Tasker has uploaded here to capture the image to a BMP and simply print it either via a report or a ShellExecute() call to paint.
>
>AFAIK Paint is not an automation client, you can probably do a web search and find something like that though.
>
>>I have only one problem left, which is to print the drawing. I could have probably programatically drawn on a report form (I have done that before) but there are no diagonal lines on the report formatter. So, I am left with two options:
>>
>>1) Finding a way to send the drawing that I have on screen to the printer. I don't think FoxPro can do this, but correct me if I am wrong.
>>2) Go back to the Visio scenario. However, as this would require anyone using my software to have visio, and this time I really only want to make a sketch drawing, is it possible to automated, say, Paint, in the same way. The advantage is that everyone with Windows has paint, so he needs no special software.
Previous
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