fredtheman
MIS
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="VBScript">
Sub Window_OnLoad
'According to MS, this wizard-generated code crashes often
'Document.Open
'Document.Write "<FRAMESET>"
'Document.Write "<FRAME SRC=""Page1.VBD"">"
'Document.Write "</FRAMESET>"
'Document.Close
location.href="Page1.VBD"
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
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="VBScript">
Sub Window_OnLoad
'According to MS, this wizard-generated code crashes often
'Document.Open
'Document.Write "<FRAMESET>"
'Document.Write "<FRAME SRC=""Page1.VBD"">"
'Document.Write "</FRAMESET>"
'Document.Close
location.href="Page1.VBD"
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