Hi,
The favorite and history panel is not included in the document object model
which means the DHTML has no corresponding method to close them. We can use
the WebBroswer control to control the IE. However, from the OLECMDID
argument of IWebBrowser2::ExecWB Method, no any command can be used to
close the panel.
OLECMDID
http://msdn.microsoft.com/library/en-us/com/htm/oen_a2z_22sk.asp?frame=true
IWebBrowser2::ExecWB Method
http://msdn.microsoft.com/workshop/browser/webbrowser/reference/ifaces/iwebb
rowser2/execwb.asp
So I have two suggestions for you:
1. host web browser in your own applicatoin so that you can fully control
the IE browser. One sample is introduced from kb.
326217 INFO: WebOCHostCSharp.exe Hosts the WebBrowser Control in C# .NET
http://support.microsoft.com/?id=326217
2. pop up one new window so that the panel will not appear.
Please feel free to let me know if you have any further question.
Best Regards,
Wei-Dong XU
Microsoft Product Support Services
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.
This and other support options are available here:
BCPS:
https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469
Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/
If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/default.aspx?scid=%2finternational.aspx.
=====================================================
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.