Can you tell me simple to call VBPrintDlg to a form.any help would be highly
appreciated.
Code:
Function VBPrintDlg(hdc As Long, Optional PrintRange As EPrintRange = eprAll, Optional DisablePageNumbers As Boolean, Optional FromPage As Long = 1, Optional ToPage As Long = &HFFFF, Optional DisableSelection As Boolean, Optional Copies As Integer, Optional ShowPrintToFile As Boolean, Optional DisablePrintToFile As Boolean = True, Optional PrintToFile As Boolean, Optional Collate As Boolean, Optional PreventWarning As Boolean, Optional Owner As Long, Optional Printer As Object, Optional flags As Long) As Boolean