what you mean? "it doesnt just end."
You want it will hide? then write code in form_laod
"me.hide" or "form1.hide"
abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
In the code editor click (i think its the right) combo box at the top and choose where it says terminate with a lightning bolt next to it
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
http://www.vb6.us/files/Image/Hello-World/Visual-Basic-Tutorial-screen5.jpg
Look at this image
You see where the two drop down boxes say Command1 and Click?
Change that to say form1, and the second one to say (i think its either Terminate or onClose, will have a lightning bolt symbol next to it)
That will create a code block. In there you can type whatever you want to happen when they try to close the form
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
No problem. Glad you got it solved.
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601