HI,
I have written a code to print the crystal report instead of using print button in the crystal report viewer control.(I have done this in order to keep record of printed pages.)
So, now there is a print button in my form, which upon clicked will show the printer select dialog box to print the crystal report pages.
Now I need to track the event when user presses the Cancel button shown in the print dialog box
Can any one help me with this?

Dim printdialog1 As New PrintDialog
Dim result As DialogResult
result = printdialog1.ShowDialog
If result = DialogResult.Cancel Then
    'Do some tracking here
End If
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.