FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Photo printing wizard
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Photo printing wizard
Posted: Fri Mar 18, 2016 06:20 AM

How you can call the standard dialog of "Photo printing Wizard" ?

Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
Re: Photo printing wizard
Posted: Fri Mar 18, 2016 01:33 PM
Hi Natter,

This is what you may be lookingfor:

Code (fw): Select all Collapse
 #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




-Ramesh Babu
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Photo printing wizard
Posted: Fri Mar 18, 2016 01: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
Posts: 85
Joined: Wed Nov 19, 2014 01:04 PM
Re: Photo printing wizard
Posted: Fri Mar 18, 2016 01:43 PM

include "fivewin.ch"

function main()
ShellExecute(0,"Print", "c:\fwh\samples\rosa1.jpg",,1)
return nil

Regards

Yunus



FWH 21.02
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: Photo printing wizard
Posted: Fri Mar 18, 2016 03:47 PM

Thank you Mr. Rameshbabu ! Perfect

Continue the discussion