944,000 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 3219
  • VB.NET RSS
Aug 5th, 2005
0

closing form1 from form2

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
emman is offline Offline
7 posts
since Jul 2005
Aug 8th, 2005
0

Re: closing form1 from form2

Did you try using Application.Exit(). Call this function when you want the entire application to end.

For more help, www.NeedProgrammingHelp.com
NPH
Reputation Points: 10
Solved Threads: 1
Junior Poster in Training
NPH is offline Offline
55 posts
since May 2005
Aug 25th, 2005
0

Re: closing form1 from form2

nice piece of code. iam amazed that my faculty did not know this. i found the link useful. thank you NHP.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
emman is offline Offline
7 posts
since Jul 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: Capturing returnValue from DTS package executed from vb.net
Next Thread in VB.NET Forum Timeline: FTP error





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC