Thisform.kodakImageAdminControl.showPrintDialog(lnHandle)
I am presented with the Print Dialog Box.Visual Foxpro Error: OLE IDispatch exception code 0 from ImgAdmin: Cancel was pressed..OLE Error: Cancel was pressedApplication Name: ImgAdminApplication Help File: imgocxd.hlpHelp context ID: 401450OLE Exception #: 32755 OLE IDispatch exception code 0 from ImgAdmin: Cancel was pressed.. Error #: 1429The "Thisform.kodakImageAdminControl.showPrintDialog()" method does not return any value.
LOCAL nPrintValueReturn *-- get application handle DECLARE INTEGER FindWindow IN Win32API ; INTEGER nClass, STRING cName lcCaption = _screen.Caption lnHandle= FindWindow( 0, lcCaption) thisform.kodakImageAdminControl.image = lcTifFile nPrintValueReturn = thisform.kodakImageAdminControl.showPrintDialog(lnHandle)Thanks,