I just used the script from today's "Getting rid of header/footer" post and it works, however before it will execute, I get a message box that says "Some software (ActiveX Controls) on this page might be unsafe. It is recommended that you not run it. Do you want to allow it to run?" When I click yes, the code executes just fine. How can I eliminate that message box (I have IE 5.0)?
Below is the script I used:
<script type="text/vbscript">
Dim WSHShell
Set WSHShell = CreateObject("WScript.Shell"
WSHShell.RegWrite "HKCU\Software\Microsoft\Internet Explorer\PageSetup\header", ""
WSHShell.RegWrite "HKCU\Software\Microsoft\Internet Explorer\PageSetup\footer", ""
</script>
Thank you!
JennieM
Below is the script I used:
<script type="text/vbscript">
Dim WSHShell
Set WSHShell = CreateObject("WScript.Shell"
WSHShell.RegWrite "HKCU\Software\Microsoft\Internet Explorer\PageSetup\header", ""
WSHShell.RegWrite "HKCU\Software\Microsoft\Internet Explorer\PageSetup\footer", ""
</script>
Thank you!
JennieM