Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using shell32.dll to print out Jpeg files
Message
De
16/10/2009 02:24:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Using shell32.dll to print out Jpeg files
Divers
Thread ID:
01429595
Message ID:
01429595
Vues:
207
I run the following command to print out jpeg file from vfp. But windows using WINDOW PHOTO VIEWER to preview it before printing. How can I modify the printing behavior to print only or using another program eg. Acdsee to print it out.

TIA.
		DECLARE INTEGER ShellExecute IN shell32.dll ;
			  INTEGER hndWin, ;
			  STRING cAction, ;
			  STRING cFileName, ;
			  STRING cParams, ;
			  STRING cDir, ;
			  INTEGER nShowWin


			cFileName = "c:\temp\test.jpg"
			cAction = "print"
			

			ShellExecute(0,cAction,cFileName,"","",1)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform