Hi All..Im new to Visual Basic 2008 and I'm having a really hard time figuring out how to to print all my tabs in my application. I have 5 tabs which have text boxes, labels, and combo boxes. Is there a way to print the contents of each tab and have each tab print on a separate page? Any help greatly appreciated. Thanks
JohnnySpider
0
Newbie Poster
Recommended Answers
Jump to Post>Is there a way to print the contents of each tab and have each tab print on a separate page?
PrintForm control.
.. PrintForm1.PrintAction = Printing.PrintAction.PrintToPrinter For i As Integer = 0 To Me.TabControl1.TabPages.Count - 1 Me.TabControl1.TabPages(i).Show() PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.FullWindow) Next ..
Jump to Post>can you tell me where that code goes
Click event handler of button/menu.
>Is there a way to just pull the raw data from the tabs without a snapshot being taken because the quality looks bad when printed..
Read properties (Text or value) of controls.
All 8 Replies
kvprajapati
1,826
Posting Genius
Team Colleague
JohnnySpider
0
Newbie Poster
JohnnySpider
0
Newbie Poster
kvprajapati
1,826
Posting Genius
Team Colleague
JohnnySpider
0
Newbie Poster
kvprajapati
1,826
Posting Genius
Team Colleague
JohnnySpider
0
Newbie Poster
JohnnySpider
0
Newbie Poster
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.