I have created a web browser to minimize to the system tray when exiting, but I have a problem with the browser not responding when I maximize the form. the program itsself does not lock up, but the broswer control does not seem to redraw. I am maximizing the icon with the following code.
Private Sub NotifyIcon1_Dou bleClick(ByVal sender As Object, ByVal e As System.EventArg s) Handles NotifyIcon1.Dou bleClick
Me.ShowInTaskba r = True
Me.NotifyIcon1. Visible = False
Me.WindowState = FormWindowState .Normal
Me.WebBrowser1. Update()
Me.WebBrowser1. Show()
End Sub
I have experimented with several commands to attempt to get the browser to appear normally, but nothing seems to do the trick.
Any Ideas?
Thx
Private Sub NotifyIcon1_Dou bleClick(ByVal sender As Object, ByVal e As System.EventArg s) Handles NotifyIcon1.Dou bleClick
Me.ShowInTaskba r = True
Me.NotifyIcon1. Visible = False
Me.WindowState = FormWindowState .Normal
Me.WebBrowser1. Update()
Me.WebBrowser1. Show()
End Sub
I have experimented with several commands to attempt to get the browser to appear normally, but nothing seems to do the trick.
Any Ideas?
Thx