Philippe HERRY
2005-09-28 07:43:01 UTC
When I translate VB code :
'### use print preview for this program
mdinvManager.PrintPreview = enYes
'### Finally print invoice
Dim mdInvResult As MDINVOICEREQUESTMANAGER400Lib.MDInvoiceResult
Dim lTimestamp As Long
'### no print template is specified - standard template will be used
bstatus = mdinvManager.Print("", enNo, enYes, "", Nothing, Form1.hWnd,
lTimestamp, MDInvResult)
in VFP code by :
* finally print invoice
LOCAL mdinvResult
*IMDInvoiceResult
LOCAL lTimestamp
* no print template is specified - standard template will be used
LOCAL hWnd
bStatus = mdinvManager.Print("", enNo, enYes, "", address , hWnd,
lTimestamp, mdinvResult )
I receive the error message in the subject.
Have anyone a solution ? A pointer definition error ?
Thank you very much for your help.
Best regards
'### use print preview for this program
mdinvManager.PrintPreview = enYes
'### Finally print invoice
Dim mdInvResult As MDINVOICEREQUESTMANAGER400Lib.MDInvoiceResult
Dim lTimestamp As Long
'### no print template is specified - standard template will be used
bstatus = mdinvManager.Print("", enNo, enYes, "", Nothing, Form1.hWnd,
lTimestamp, MDInvResult)
in VFP code by :
* finally print invoice
LOCAL mdinvResult
*IMDInvoiceResult
LOCAL lTimestamp
* no print template is specified - standard template will be used
LOCAL hWnd
bStatus = mdinvManager.Print("", enNo, enYes, "", address , hWnd,
lTimestamp, mdinvResult )
I receive the error message in the subject.
Have anyone a solution ? A pointer definition error ?
Thank you very much for your help.
Best regards
--
Philippe HERRY
***@swissonline.ch
Switzerland
Philippe HERRY
***@swissonline.ch
Switzerland