Hello all,
I have a few questions, I am using vb6, sql7 and crystal report 9. I'm using
crviewer and calling external rpt report (not rdc). My question is how do i display
the print dialog box so that user can select specific printer? I already tried
calling the print common dialog box using the procedure below but the report keeps on
printing on the default printer.
Private Sub CRViewer_PrintButtonClicked(UseDefault As Boolean)
UseDefault = False
On Error GoTo Cancel:
CommonDialog1.CancelError = True
CommonDialog1.ShowPrinter
m_Report.PrintOut False
Exit Sub
Cancel:
MsgBox "Printing cancelled"
Exit Sub
End Sub
One more thing, How can i let the user select specific page to print? Any suggestions
and recommedation? Thanks in advance.
Jominix
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/k7folB/TM
--------------------------------------------------------------------~->
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [EMAIL PROTECTED]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/