Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RE: Porting a browser helper object from IE6 to IE8

9 views
Skip to first unread message

vbdotnetpro

unread,
Apr 21, 2009, 12:11:01 PM4/21/09
to
MSDN Support,

I am porting a VB.NET browser helper object that currently runs in IE6 to
IE8 and have run into a snag. In IE8 the browser window opens up prior to
the BHO “New” sub routine being called. This is different then it was in
IE6, we could launch a form based login dialog from within "New"" which was
prior to the browser opening up, and then if they authenticate correctly,
continue and the browser would then show. Does any way exist to configure
IE8 to function the same way either using code or a browser setting? This
is a kiosk based application so; we have full control of the OS.

"vbdotnetpro" wrote:

> MSDN Support,
>
> I am porting a VB.NET browser helper object that currently runs in IE6 to
> IE8 and have run into a snag. In IE8 the browser window opens up prior to
> the BHO “New” sub routine being called. This is different then it was in
> IE6, we could launch a form based login dialog from within "New"" which was
> prior to the browser opening up, and then if they authenticate correctly,
> continue and the browser would then show. Does any way exist to configure
> IE8 to function the same way either using code or a browser setting? This
> is a kiosk based application so; we have full control of the OS.
>

vbdotnetpro

unread,
Apr 22, 2009, 11:11:03 AM4/22/09
to

vbdotnetpro

unread,
Apr 22, 2009, 11:24:05 AM4/22/09
to

- Subscriptions Support@discussions.microsoft.com Mike - Subscriptions Support

unread,
Apr 22, 2009, 3:14:01 PM4/22/09
to
Hi vbdotnetpro,
I understand you've been waiting for an answer on this for over a week now.
I'm trying to contact the appropriate team internally in order to get your
question asked.

Thanks for your patience

Mike
Subscriptions Support

Linda Liu[MSFT]

unread,
Apr 23, 2009, 12:21:01 AM4/23/09
to
Hi,

I finished reading some matierals about Browser Helper Objects. The Browser
Helper Objects(BHO) are in-process COM components that Internet Explorer
will load each time it starts up. A BHO is a COM in-process server
registered under a certain registry's key. Upon startup, Internet Explorer
looks up that key and loads all the objects whose CLSID is stored there.

In Internet Explorer, we can manage BHO. Select the menu Tools | Manage
Add-ons. In the Manage Add-ons window, select the BHO in question and
enable/disable it.

As for your problem, I suspect the BHO you want is disabled in Internet
Explorer. Please open the Manage Add-ons window and do a check.

Hope this helps.
If you have any question, please feel free to let me know.

Sincerely,
Linda Liu
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd...@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


vbdotnetpro

unread,
Apr 23, 2009, 11:25:01 AM4/23/09
to

Linda,

Thanks for the reply, but it has nothing to do with my question.

As my post states, I have an VB.NET BHO which runs fine in IE6. We need
to make it work in IE8.

In IE6 the BHO "New()" subroutine runs BEFORE the browser window displays.
If you create an BHO, and place a msgbox("new") in the New sub, you will see
it display before the browswer window opens.

In IE8 the BHO "New()" subroutine runs AFTER the browser window displays.
The same code in the new() sub in IE the browser window starts to open, and
then the msgbox displays.

We need to know what we have to do to make our "New()" code to fire before
the browser window opens in IE8.

if you need a sample project, I can send you one via email.

Linda Liu[MSFT]

unread,
Apr 24, 2009, 5:34:32 AM4/24/09
to
Hi,

Thank you for your prompt response!

IMO, this might be a feature of IE 8. I have consulted in our internal
discussion group. As soon as I get a reply, I will update it to you. I
appreciate your patience.

You can send me your sample to my email address v-l...@microsoft.com.

vbdotnetpro

unread,
Apr 24, 2009, 4:32:01 PM4/24/09
to

If you find this is by design, please let me know what documents on msdn you
found this info.

I will send the test project to your account.

Linda Liu[MSFT]

unread,
Apr 27, 2009, 6:19:50 AM4/27/09
to
Hi,

Thank you for your sample project!

I register your BHO COM server on my machine with IE8 installed. When I
open a new IE8 window, a message box pops up saying "in new".

The version info of IE8 I'm using is as follows:
Verson: 8.0.6001.18372
Update Version: Release Candidate 1

What's the version of IE8 you're using?

vbdotnetpro

unread,
Apr 27, 2009, 11:55:02 AM4/27/09
to

Linda,

message should pop-up before the IE loads. I have sent you an email with
images of how it worked in ie6 and the issue with ie8.

thanks

Linda Liu[MSFT]

unread,
Apr 28, 2009, 3:56:46 AM4/28/09
to
Hi Chris,

Thank you for your reply!

I receive your email with images. I do see the same thing as you when I
open a new IE8 window.

I also find that IE7 behaves the same as IE8, i.e. the IE7 window opens
prior to the message box pops up.

However, although the IE window is opened, it doesn't navigate to the
default web page until I click the OK button on the message box to close
it. IMO, this little difference between IE6 and IE8 shouldn't block your
acutal business.

If you have any concern, please feel free to let me know.

vbdotnetpro

unread,
Apr 28, 2009, 5:17:02 PM4/28/09
to
Linda,

You have one heck of a lot of nerve, I did not ask you for business advise.
You have no idea what my business is and how this will or will not cause it
any problems. Stick to your business of support, and I will worry about
mine.

If this is a bug, let me know; if this is by design, where is this changed
documented? Most importantly does a workaround exist.

Linda Liu[MSFT]

unread,
Apr 29, 2009, 11:06:24 PM4/29/09
to
Hi Chris,

Thank you for your response!

I understand your concern. I'm consulting this issue to our product team.
As soon as I get a reply, I will get it back to you.

I appreciate your patience!

Linda Liu[MSFT]

unread,
May 4, 2009, 11:01:47 PM5/4/09
to
Hi Chris,

I got a reply from our product team. The following is the comment:

=======================================
This is by design. Since we separated the frame and tab in IE8, the frame
will load before your bho will activate.

IE6: Frame Process Created -> BHO Init -> Frame display
IE8: Frame Process Created -> Frame display -> Tab process created -> BHO
init -> tab displayed

Unfortunately, there isn't a workaround for this.
=======================================

If you have any concern, please feel free to let me know.

Sincerely,

Men

unread,
Jul 21, 2009, 9:48:11 AM7/21/09
to
Hi,

I am trying to find a skeleton of VB.NET project for BHO. May be you can help?

Thanks

Nobody

unread,
Jul 28, 2009, 6:45:33 PM7/28/09
to
"Men" <M...@discussions.microsoft.com> wrote in message
news:C5AAD3BF-FC2D-4AE8...@microsoft.com...

> Hi,
>
> I am trying to find a skeleton of VB.NET project for BHO. May be you can
> help?

This is a VB6 and earlier group(VB Classic). VB.Net and all dotnet groups
have either "dotnet" or "vsnet" in the group name. Please use the following
group instead:

news://msnews.microsoft.com/microsoft.public.dotnet.languages.vb

0 new messages