Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to exit sub of form1 using form2?
#1
Hi everybody
I have created a software and have added a form2 to it
In form1_closing event i have added the code
form2.showdialog
In form 2 i have added a button "Cancel"
I want that when the user press this cancel button then it exits the form_closing sub which prevents the software from Closing

Can anybody tell me How to Do it

Thanks in Advance!!!!
The Power to Believe in Yourself is the Power to change the Fate!


Messages In This Thread
How to exit sub of form1 using form2? - by Himansh - 05-21-2012, 12:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Exit code ? lvlasked 1 8,872 06-30-2011, 10:36 AM
Last Post: lvlasked

Forum Jump:


Users browsing this thread: 1 Guest(s)