By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,760 Members | 1,120 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,760 IT Pros & Developers. It's quick & easy.

ShowInTaskBar WebBrowser Control Problem Still in 2.0

P: n/a
I can't find the post now but several months back I posted a problem I
was having using the WebBrowser control when trying to have a systray
icon pop back up a window that hadn't been shown in the taskbar. I was
doing ShowInTaskbar = False - and someone here told me that wouldn't
work because the browser control was ActiveX still and that
ShowIOnTaskbar = false actually destroyed the window. So, I tried 2.0
Beta and the same thing happens with their "native" control.

To reproduce :

Create a form with a web browser control on it (and a notify icon) -
anywhere will do.

Add these :

Private Sub NotifyIcon1_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles NotifyIcon1.Click
Me.Visible = True
Me.ShowInTaskbar = True
Me.Activate()
Me.Focus()
Me.Refresh()
End Sub

Private Sub frmMain_Resize(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MyBase.Resize
If Me.WindowState = FormWindowState.Minimized Then
Me.AxWebBrowser1.Visible = False
Me.AxWebBrowser2.Visible = False
Me.ShowInTaskbar = False
End If
End Sub
You'll notice when you minimize the window goes away and you'll have
your notify icon in the systray. Double click on the systray icon and
watch the web browser control disappear. It does the same with .NET
framework 1.1 in Visual Studio 2005 and .NET 2.0 in Visual Studio 2005.

Where can I report this problem?

--
- Mitchell Vincent
- kBilling - Invoices Made Easy!
- http://www.k-billing.com
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies

P: n/a
Hi

So far Whidbey issue is not officially supported, so the behavior may vary
after the finally release.
For Whidbey issue, you may try to report in the vs2005 forum.
http://lab.msdn.microsoft.com/vs2005/community/

Thanks for your understanding!

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 21 '05 #2

P: n/a
Peter Huang [MSFT] wrote:
Hi

So far Whidbey issue is not officially supported, so the behavior may vary
after the finally release.
For Whidbey issue, you may try to report in the vs2005 forum.
http://lab.msdn.microsoft.com/vs2005/community/


Thanks Peter, I posted there.

--
- Mitchell Vincent
- kBilling - Invoices Made Easy!
- http://www.k-billing.com
Nov 21 '05 #3

P: n/a
Hi

You are welcomed!
Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.