Click to See Complete Forum and Search --> : How to let form out


December 7th, 1999, 03:15 AM
I've put my program on the syetem tay.Now I want to show it when mouse double
click on the icon.
I've write the following code.

Private Sub Form_DblClick()
App.TaskVisible = True
Me.Show
End Sub

But it doesn't work like me want to see.
Help me please.

Ravi Kiran
December 7th, 1999, 03:42 AM
May be you should try Me.WindowState = VbMAximised or VBNormal .
App.TaskVisible is meant to make it appear in the task list or not.


RK

December 7th, 1999, 08:00 PM
Thank you,Ravi.
I have try it.But it doesn't work,too.
I have make the application on the system tray and no windows for it and have
none on task bar.
Now me want to show it out.
With my poor English,the explain can't so clear to let you understand.
But please help me.
Thanks.

Chizl
December 7th, 1999, 11:07 PM
http://www.sourcesite.simplenet.com/visualbasic/ You will find the code there under SystemTray Demo..

--
Chizl
chizl@NOSPAM.karland.com
http://www.chizl.com/

December 8th, 1999, 08:31 AM
Thank you very much.:D