ActiveX and Data Access Page

G

Guest

Hello, excuse if post is OT but i don't know if problem is IE6 or other stuff.

So, I've two Data access Page (designed with Access XP and modified with
Notepad). The first page receive from user something for find information in
database. The page write to C:\Criteria.txt the "Where Condition" to obtain
data.
The Result Page reads from C:\Criteria.txt and execute query.

Well, when i write to C:\Criteria.txt i receive always a warning that " a
script not secured tries to execute....". I would skip this warning, so the
user doesn't see the message. I would do this without permit to "not secured
script" to execute without confirm it.

The function tha i use is
.......
.....
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile("C:\Criteria.txt",ForWriting,True)

and when the page do this, warning starts.

I've inserted the web site to the list web site trusted but nothing.


Thanks in advance and excuse me again (also form my english).

Aragorn
 
G

Guest

Aragorn,

This code is writing to the hard drive. This could be a virus. IE needs to
warn you and give a user the chance to allow or ignore this. I would suggest
you compile your code in VB and use an acitve x control instead.

Michael Evanchik.
www.michaelevanchik.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top