Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pushing the limits?
Message
From
20/07/2003 13:04:43
Steven Edge
Soft Solutions Limited
Lagos, Nigeria
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00797918
Message ID:
00811842
Views:
28
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
Map
View

Click here to load this message in the networking platform