Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

[newbie] ActiveX Document crashes IE?

Status
Not open for further replies.
Sep 25, 2003
1
FR
Hi,

I've started looking at the ActiveX solution to build web apps about a month ago. After checking out controls, I'm talking a look at ActiveX Docs (either EXEs or DLLs), and I notice that IE crashes quite often.
Upgrading to IE6 along with the latest and greatest VBScript engine doesn't solve the issue.

After finding some post in Usenet, if I use the following, IE seems to stop crashing, but I get "Err 691" when navigating to a second VBD page using Hyperlink.NavigateTo "Page2.vbd" :

'index.html
<OBJECT ... >Deleted for clarity; Contains link to Page1.VBD</OBJECT>

<SCRIPT LANGUAGE=&quot;VBScript&quot;>
Sub Window_OnLoad
'According to MS, this wizard-generated code crashes often
'Document.Open
'Document.Write &quot;<FRAMESET>&quot;
'Document.Write &quot;<FRAME SRC=&quot;&quot;Page1.VBD&quot;&quot;>&quot;
'Document.Write &quot;</FRAMESET>&quot;
'Document.Close

location.href=&quot;Page1.VBD&quot;

End Sub
</SCRIPT>

Could anyone with good experience with ActiveX Docs tell me how to get those thingies to work reliably (provided it's not a dead-end solution to begin with ;-) )?

Thank you very much
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top