No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am trying to print all the contents of a combobox in a program. For example: ComboBox1 Contents: Yes No Maybe No opinion My code so far for PrintDocument1: Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage Dim horizontalPrintPosition As Single Dim verticalPrintPosition As Single Dim … |
|
Re:
[code] Private Sub btnPrintListBox_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrintListBox.Click Printer.ShowDialog() End Sub [/code] My book doesn't discuss how to use the PrintDialog, so I'm not sure how to get it to print out a ListBox. Also I have a ComboBox full of states and sales tax … |