Improve company productivity with a Business Account.Sign Up

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 311
  • Last Modified:

Webbrowser events does not trigger?

Hello, I have the following code... Why doesn't the NavigateComplete2 event trigger?

<OBJECT id="brow" name="brow" style="LEFT: 0px; TOP: 0px" height=600 width=800 classid="clsid:8856F961-340A-11D0-A96B-00C04FD705A2" VIEWASTEXT>
      <PARAM NAME="ExtentX" VALUE="21167">
      <PARAM NAME="ExtentY" VALUE="15875">
      <PARAM NAME="ViewMode" VALUE="1">
      <PARAM NAME="Offline" VALUE="0">
      <PARAM NAME="Silent" VALUE="0">
      <PARAM NAME="RegisterAsBrowser" VALUE="1">
      <PARAM NAME="RegisterAsDropTarget" VALUE="0">
      <PARAM NAME="AutoArrange" VALUE="0">
      <PARAM NAME="NoClientEdge" VALUE="0">
      <PARAM NAME="AlignLeft" VALUE="0">
      <PARAM NAME="NoWebView" VALUE="0">
      <PARAM NAME="HideFileNames" VALUE="0">
      <PARAM NAME="SingleClick" VALUE="0">
      <PARAM NAME="SingleSelection" VALUE="0">
      <PARAM NAME="NoFolders" VALUE="0">
      <PARAM NAME="Transparent" VALUE="0">
      <PARAM NAME="ViewID" VALUE="{0057D0E0-3573-11CF-AE69-08002B2E1262}">
      <PARAM NAME="Location" VALUE=""></OBJECT>
      <script language="vbscript">
      Sub brow_NavigateComplete2(a,b)
      end sub
1 Solution
dont understand what u are trying to do....

are u trying to write some vbscipt in an html page?

u cud do this:

<body onload="brow_NavigateComplete2"> or so...
foxeyeAuthor Commented:
I want a function to trigger when the browser-object that I've created switches pages
Sub brow_NavigateComplete2()
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

foxeyeAuthor Commented:
Doesn't work
Have you tried the wb_BeforeNavigate event?

The complete event will not fire if the page does not compleatly load.

Post your event code.
foxeyeAuthor Commented:
Yep, tried it...
     <script language="vbscript">
     Sub brow_BeforeNavigate()
     end sub

I can get normal events ( like onfucus, onmouseover etc. ) to work, but not the browser specific.
PAQed with points refunded (250)

EE Admin
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now