Hi,
I have a Access 2000 database and when you click a button it opens a html file on the local machine. When this html file is loaded it submits a form.
I have inserted some of the code below. You can see onLoad it submits the form call Test.
This was working fine on most versions of IE and Windows.
In Win XP (SP2) when I open this page from my database it comes up with a message. "To help protect your security, Internet Explorer has restricted this file showing active content that could access your computer".
You then have the option to "allow blocked content" but this happens each time I open the html file. Is there a better way to do this. Can I allow this blocked content through always.
If anyone can give me any suggestions or better ways to do this, I would be very much appreciative.
Thanks
Jim
''''''
strFileContent = strFileContent & "<body bgcolor=#FFFFFF text=#000000 link=#FFFFFF alink=#FFFFFF vlink=#FFFFFF onLoad=" & Chr$(34) & "Test.submit()" & Chr$(34) & ">" & vbNewLine
strFileContent = strFileContent & "<FORM NAME=" & Chr$(34) & "Test" & Chr$(34) & " METHOD=POST ACTION= & vbNewLine
''''''''
I have a Access 2000 database and when you click a button it opens a html file on the local machine. When this html file is loaded it submits a form.
I have inserted some of the code below. You can see onLoad it submits the form call Test.
This was working fine on most versions of IE and Windows.
In Win XP (SP2) when I open this page from my database it comes up with a message. "To help protect your security, Internet Explorer has restricted this file showing active content that could access your computer".
You then have the option to "allow blocked content" but this happens each time I open the html file. Is there a better way to do this. Can I allow this blocked content through always.
If anyone can give me any suggestions or better ways to do this, I would be very much appreciative.
Thanks
Jim
''''''
strFileContent = strFileContent & "<body bgcolor=#FFFFFF text=#000000 link=#FFFFFF alink=#FFFFFF vlink=#FFFFFF onLoad=" & Chr$(34) & "Test.submit()" & Chr$(34) & ">" & vbNewLine
strFileContent = strFileContent & "<FORM NAME=" & Chr$(34) & "Test" & Chr$(34) & " METHOD=POST ACTION= & vbNewLine
''''''''