|
-
Sep 24th, 2003, 10:49 PM
#1
Thread Starter
Hyperactive Member
VB Equivilant of Printer.Print
Guys,
I am beginning the move from VB to .Net and am going for C# as my language of choice. I have converted an application that I wrote in VB6 and cleaned it all up and made it so much more efficient with C# but I am at a loss for trying to get some info printed.
In the VB6 app, I just used Printer.Print and printed out a neat looking form for internal use here at work, quick and dirty and fast. I dont need anything fancy. The app has text boxes that calculates some figures for engineering, then I need to print whats in the text boxes so it can be used elsewhere.
How can I do this in C#. I have looked in a lot of places and cant seem to find out what I am looking for. Do I need to use a data report or anything like that? I searched the C# forum but came up empty.
Thanks in advance and I would appreciate any help or nudging in the right direction to help get me going.
Thanks,
Jerel
-
Sep 25th, 2003, 04:17 PM
#2
Frenzied Member
Check into the System.Drawing.Printing namespace, specifically the PrintDocument class.
Here's a link to get you started.
Being educated does not make you intelligent.
Need a weekend getaway??? Come Visit
-
Sep 25th, 2003, 04:34 PM
#3
Thread Starter
Hyperactive Member
Thanks alot. I will head that direction.
Jerel
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|