Everything works fine when you first load the page, but when you try and navigate away from the page, you get the "A script on this page has caused internet explorer to run slowly" error.
this code was added in the <head> tags,
Expand|Select|Wrap|Line Numbers
- <%
- Sub cmdClickMe_OnClick
- WBControl.ExecWB 6,2,3
- set WBControl = nothing
- End Sub
- %>
and this on the page body,
Expand|Select|Wrap|Line Numbers
- <object id="WBControl" width="0" height="0" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></object>
- <img src="images/print.gif" NAME="cmdClickMe" VALUE="Click Me">