Photo printing wizard

Photo printing wizard

Postby Natter » Fri Mar 18, 2016 6:20 am

How you can call the standard dialog of "Photo printing Wizard" ?
Natter
 
Posts: 1211
Joined: Mon May 14, 2007 9:49 am

Re: Photo printing wizard

Postby RAMESHBABU » Fri Mar 18, 2016 1:33 pm

Hi Natter,

This is what you may be lookingfor:

Code: Select all  Expand view
#include "fivewin.ch"

FUNCTION Main()

LOCAL oCommDlg, oFiles

oCommDlg := FWGetOleObject( "WIA.CommonDialog" )
oFiles   := FWGetOleObject( "WIA.Vector")

oFiles:Add("c:\fwh\bitmaps\007.bmp")
oFiles:Add("c:\fwh\bitmaps\dbglogo.bmp")

oCommDlg:ShowPhotoPrintingWizard(oFiles)

RETURN nil
 


Image

-Ramesh Babu
Last edited by RAMESHBABU on Fri Mar 18, 2016 1:42 pm, edited 1 time in total.
User avatar
RAMESHBABU
 
Posts: 624
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Re: Photo printing wizard

Postby cnavarro » Fri Mar 18, 2016 1:41 pm

Perfect, thanks
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Photo printing wizard

Postby dagiayunus » Fri Mar 18, 2016 1:43 pm

#include "fivewin.ch"
function main()
ShellExecute(0,"Print", "c:\fwh\samples\rosa1.jpg",,1)
return nil
Regards
Yunus

FWH 21.02
dagiayunus
 
Posts: 85
Joined: Wed Nov 19, 2014 1:04 pm

Re: Photo printing wizard

Postby Natter » Fri Mar 18, 2016 3:47 pm

Thank you Mr. Rameshbabu ! Perfect
Natter
 
Posts: 1211
Joined: Mon May 14, 2007 9:49 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 112 guests