Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print screen keyboard option
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00965412
Message ID:
00965521
Vues:
7
Hi Neil,

I have several FoxPro code samples (requires membership) showing how to copy the whole screen to a graphics file.

Storing screen shot of a form to bitmap file -- uses GDI API calls to create *.bmp files
http://www.news2news.com/vfp/?example=187

Storing screen shot of a form to enhanced metafile -- uses Metafile API calls to create *.emf files
http://www.news2news.com/vfp/?example=402

GDI+: saving image of FoxPro form to graphics file (BMP, GIF, JPG, PNG, TIF) -- uses GDI+ API calls to create graphics files in several formats
http://www.news2news.com/vfp/?example=454

You can call any of those algorithms from a CommandButton.Click snippet to create a graphics file. It adds some code to your application; but also it makes you free from using third-party ActiveX controls or libraries. Just because the Windows API libraries are normally installed and available on any Windows computer.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform