troubleshooting Question

print on a diffrent module

Avatar of Gunit2507
Gunit2507 asked on
Visual Basic.NET
4 Comments1 Solution164 ViewsLast Modified:
I have a main form that has a print button, when that print button is clicked it calls the the document to print. This is what the sub looks like:

Private Sub PrintPageHandle(ByVal Sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles CalendarDocument.PrintPage
End Sub

What I am wondering is I want to have everything to do with the calendar making process located on a diffrent modual. So for example the user clicks the print button
and instead of call the printpage sub on the current form i want it to be called from my modual page. How do i do that?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros