Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Direct print possible?
Message
 
 
À
29/11/2000 22:15:21
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00447168
Message ID:
00447243
Vues:
8
Hi!

Read here (in API section of FAQ/Files/Documents) and in the help file about ShellExecute API function. There are many sample how to use it to 'Open' file (to run it). Probably you can use 'Print' instead of 'Open' as parameter for ShellExecute, that will do what you mentioned.

>MS Office Automation with VFP (does this have an abbreviated moniker like HackFox yet?) explains how one can open up a word document and print it.
>
>But is there a programmatic means that's equivalent to using the file explorer to select a file, right clicking and then selecting print? (IOW, let Windows figure out what app the file belongs to and then fire up a print job ... all in one fell swoop?)
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform