Display user input in new window

Please support our VB.NET advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Jan 2007
Posts: 104
Reputation: Jaseva is an unknown quantity at this point 
Solved Threads: 0
Jaseva's Avatar
Jaseva Jaseva is offline Offline
Junior Poster

Display user input in new window

 
0
  #1
Jan 24th, 2007
I am doing a project for my VB.NET class and I am a complete beginner, so please go easy on me

I have a windows form that will collect information from a user. When they click a button, I want to display all their information in a completely new window.

I'm not really sure how to display it in the new window. I considered using a message box, but I'm guessing that is not the best way to do this.

Any help would be appreciated.

Thanks..
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 104
Reputation: Jaseva is an unknown quantity at this point 
Solved Threads: 0
Jaseva's Avatar
Jaseva Jaseva is offline Offline
Junior Poster

Re: Display user input in new window

 
0
  #2
Jan 25th, 2007
I just read the announcement about homework help and I guess I should add a bit to my first post so you know I'm not just trying to get someone to do my homework for me.

The assignment is to generate a business travel expense attachment for an income-tax return.

I have a form with all the input boxes to type where they went, when they went, and how much they spent on each deductible expense.

When they click a button, calculations are done to all the numbers taking full amounts for fully deductible categories and partial for those that aren't.

I already did/ know how to do all of the above. Now -

I want to display the information back to the user in a new window. The reason for the new window is that I want to put a "print" button on it.

I only know how to display the information back to the user in a label in the current window, but that's not going to work here.

If someone could please point me in the right direction or tell me this is or isn't possible.

Thanks.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 104
Reputation: Jaseva is an unknown quantity at this point 
Solved Threads: 0
Jaseva's Avatar
Jaseva Jaseva is offline Offline
Junior Poster

Re: Display user input in new window

 
0
  #3
Jan 25th, 2007
Figured it out!

Had to play around quite a bit, but I got it. Just in time, too. Will be leaving for class shortly.



Edit: In case anyone else new comes along and wants to know... I had to add a new form to the project and call it with FormName.Show() Almost embarrasing how easy it was..
Last edited by Jaseva; Jan 25th, 2007 at 7:42 am.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 262
Reputation: Dukane is an unknown quantity at this point 
Solved Threads: 22
Dukane's Avatar
Dukane Dukane is offline Offline
Posting Whiz in Training

Re: Display user input in new window

 
0
  #4
Jan 25th, 2007
Please mark this thread as "solved" so we all know you no longer need help.
It is very important to read this: http://www.catb.org/~esr/faqs/smart-questions.html
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC