Groups | Blog | Home
all groups > dotnet general > april 2005 >

dotnet general : Printing Form Text


Dave Rams
4/9/2005 10:03:01 PM
I am new to VB.net and have been through couple of books on how to write code
and have searched help and tutorials and can not find an answer to this
question. I have written a program for calculating Volitility Bands for stock
traders. It is a simple mathematical calculation. The program returns a table
of numbers that are used to add the bands to stock charts.

I would like to be able to print the values in a table form for reference
during the trading day. I know this is probably a trivial question for most
but I can not figure out how to print the calculated values in the text
boxes. Is there a way to print the from with the calculated values to access
the values in a report that can be printed.

I have the code for printing from file I just can't figure out how to get
the values in a file to print.

Thanks,

Jeff Louie
4/10/2005 9:49:21 AM
Dave... You would need to manually extract the text and then use
graphics.DrawString.

http://www.geocities.com/jeff_louie/OOP/oop21.htm

Regards,
Jeff

If all else fails and if you don't mind a copyright at the bottom of the
page, I have a printing framework that you can use.

http://www.geocities.com/jeff_louie/windows_forms.htm

Dave Rams
4/19/2005 9:46:03 AM

Thanks for the Info Jeff.

I appoligize for my ignorance. I looked at your information I am not sure
the code will do what I want. Sorry but I don't know what you mean by
extracting the data manually.

I did find code to print the screen from samples on MSDN. It is a solution
but not exactly what I was thinking. I want to be able to save the
information to be accessed after stopping and restarting the program.

Looks like I have a lot more studying to do.

Thanks again,
Dave
AddThis Social Bookmark Button