Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print a file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00492304
Message ID:
00492319
Vues:
14
>How print a file .TXT in visual foxpro 6?

Try
DECLARE INTEGER ShellExecute IN Shell32;
  INTEGER hWnd, STRING @lpOperation,;
  STRING @lpFile, STRING @lpParameters,;
  STRING @lpDirectory, INTEGER nShowCmd
* lcfile is the text file to print
lcop = 'print'
lcdir = JUSTPATH(lcfile)
= ShellExecute(0, @lcop, @lcfile, 0, @lcdir, 6) && 6 = SW_MINIMIZE
George

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

Click here to load this message in the networking platform