SDittmar Posted February 22, 2003 Posted February 22, 2003 Im using a notify icon control and i wanna have the form hidden while the icon is in the tray. I set "me.visible = false" but this causes the showdialog method to end. Is there any way to hide the form without the showdialog method ending? thanx for any replies Quote
*Experts* Bucky Posted February 22, 2003 *Experts* Posted February 22, 2003 Are you using ShowDialog in a Sub Main to show your form? This sounds like the case, and if it is, you should use Application.Run to show the form instead. Then you can still hide and show it, and your program should not exit. In Sub Main: Dim myForm As New Form1() Application.Run(myForm) Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.