Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pushing the limits?
Message
 
 
À
11/07/2003 13:52:11
Steven Edge
Soft Solutions Limited
Lagos, Nigéria
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00797918
Message ID:
00809323
Vues:
47
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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform