Could someone show me step by step how to print a VB 2005 Studio windows application? I can make the print button, and add PrintDocument. I have seen several code examples but none seem to work. I would appreciate if someone would tell me what code I need, and where I need to place it. I am...
Public Class Form1
Private Sub PrintDocument1(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage
End Sub
End Class
When I try to debug this I get the following error:
Handles clause requires a WithEvents...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.