Hi,

I have a big problem.

Here is the code. In fact I have a embended browser in a form. If I click a certain link, here search2.htm, it must show in popup the seach form, a vb form. It works well on any win2k computer, not on XP. 

Any idea ?

Thx a lot,


Pv


----the code----------
Private Sub wb_Main_BeforeNavigate2(ByVal o_pDisp As Object, sURL As Variant, Flags As Variant, TargetFrameName As Variant, vPostData As Variant, Headers As Variant, bCancel As Boolean)


If LCase(Right(sURL, 11)) = "search2.htm" Then
    Me.MousePointer = 11
    f_TextSearch.Show
    bCancel = True
    Me.MousePointer = 0
End If

End Sub