Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing Forms - whats the latest wisdom
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00700482
Message ID:
00700516
Vues:
15
>George
>
>Thanks I now have your code. Could you possibly give an example of the 'ShellExecute with the Print verb' so that I can use it.
>
>Thanks
>
Colin,

In VFP 7.0 it would go like this
DECLARE INTEGER ShellExecute IN Shell32;
  INTEGER hwnd, STRING @lpOperation,;
  STRING @lpFile, STRING @lpParameters,;
  STRING @lpDirectory, INTEGER nShowCmd
* lcfile is the file to print
lcfile = 'C:\mydir\mybmp.bmp'
lcop = 'print'
lcdir = JUSTPATH(lcfile)
= ShellExecute(_VFP.hWnd, @lcop, @lcfile, 0, @lcdir, 0)
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform