closing form1 from form2

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

Join Date: Jul 2005
Posts: 7
Reputation: emman is an unknown quantity at this point 
Solved Threads: 0
emman emman is offline Offline
Newbie Poster

closing form1 from form2

 
0
  #1
Aug 5th, 2005
This is my first post. I am a novice in VB.NET. I am able to hide form1 from from2. But I am not able to close the form1 or exit the application from form2. Is there any way in which I can exit the application except from the startup form i.e., form1. Thanks in advance.
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 55
Reputation: NPH is an unknown quantity at this point 
Solved Threads: 1
NPH NPH is offline Offline
Junior Poster in Training

Re: closing form1 from form2

 
0
  #2
Aug 8th, 2005
Did you try using Application.Exit(). Call this function when you want the entire application to end.

For more help, www.NeedProgrammingHelp.com
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 7
Reputation: emman is an unknown quantity at this point 
Solved Threads: 0
emman emman is offline Offline
Newbie Poster

Re: closing form1 from form2

 
0
  #3
Aug 25th, 2005
nice piece of code. iam amazed that my faculty did not know this. i found the link useful. thank you NHP.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the VB.NET Forum
Thread Tools Search this Thread



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

©2003 - 2009 DaniWeb® LLC