BHO works in IE6 but not IE7

Hi, I have a BHO that is written in VB.
The BHO works in IE6 but not IE7.

The place it fails in IE7 is that it does not perform the Navigate2 method correctly.
I tried changing the 2nd parameter in Navigate2 to different values according to MSDN documentation. It yield different results.

Thus, I know Navigate2 is actually being executed but not correctly.

Can someone spot where the problem is?
Thanks.

Private Sub m_ie_BeforeNavigate2(ByVal pDisp As Object, url, flags, TargetFrameName, PostData, Headers, Cancel As Boolean)

If someConidtionIsTrue Then
m_ie.Navigate2 "xxx.jsp", 0, "aFrame", Null, Null
End If
End Sub

[677 byte] By [PatrickMa] at [2008-2-15]
# 1

Hi,

Can you provide more details to allow us to recreate the issue?

Thanks
-Dave

DaveMassy at 2007-8-31 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Extension Development...
# 2
Thanks for your reply.

I can send you the complete VB program if it helps.
Also, I have worked around the problem for the moment.

The problem is in the following code.

m_ie.Navigate2 "jsp/xxx.jsp", 0, "aFrame", Null, Null

The program works when I change "xxx.jsp" to using an absolute path. For example, "http://www.myhost.com/jsp/xxx.jsp"

Thanks.

Patrick

PatrickMa at 2007-8-31 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Extension Development...