we use Print
to print text to form in vb6
and dont know how to print text to window form in vb.net
please explain how to achieve it . . .
Learner010
99
Posting Whiz in Training
Recommended Answers
Jump to PostThere a couple methods you can use:
Printform sends an image of the active form to the printer. (Simple output)
PrintDocument sends the output to the printer, …
Jump to PostWe don't do print to form in VB.Net, but I can suggest some objects like ReportViewer. In my case, I prefer using CrystalReport so I'm using CrystalReportViewer quite often, it show a copy of what you are going to print and even let you save your printing to .doc,.pdf or …
Jump to Posti dont want to use label
I don't know why not. It's so simple. You don't even have to name the label unless you want to modify the text after you place it.
Dim lbl As New Label lbl.Font = New Font("Arial", 12.0!, FontStyle.Regular, GraphicsUnit.Point, …
Jump to PostWithout using any control the only way would be to draw an image and place the image in the background of the form.
If you do not plan to use the Graphics library …
Jump to PostIn the Graphics class you would want to use the DrawString method. But beware, this can get heavy in the beginning. But total control on how to draw a string is your reward. If you are looking to print just plain text, I …
All 21 Replies
Begginnerdev
256
Junior Poster
Learner010
99
Posting Whiz in Training
Eternal Newbie
30
Newbie Poster
Learner010
99
Posting Whiz in Training
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Learner010
99
Posting Whiz in Training
Begginnerdev
256
Junior Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
Begginnerdev
commented:
Nice example!
+8
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Learner010
99
Posting Whiz in Training
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Learner010
99
Posting Whiz in Training
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Learner010
99
Posting Whiz in Training
ddanbe
2,724
Professional Procrastinator
Featured Poster
Learner010
99
Posting Whiz in Training
ddanbe
2,724
Professional Procrastinator
Featured Poster
Learner010
99
Posting Whiz in Training
ddanbe
2,724
Professional Procrastinator
Featured Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
munawer_1
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.