Possibility to ByPass Hyperlinks Warning

K

Kenny G

Is there a way to by pass a hyperlinks warning message in an Access form?
Each time a user clicks on a hyperlink a warning comes up telling the user
that is could be harmful to their computer.

Access 2003
 
K

Kenny G

Klatuu,

I got the code from your posting. At which location to I place the code?
Under the form?
 
K

Klatuu

No, the code should go in a standard module by itself.

Here is the line from one of my apps where I use it:
Call fHandleFile(strhyperlink, WIN_NORMAL)
 
K

Kenny G

Klatuu,

I've created a mod called "modfHandleFile" and pasted the contents in the
module.

in the text box on the form I have placed the following code:

Private Sub Current_Click()
Call fHandleFile(Current, WIN_NORMAL)
End Sub

When I click the textbox I get the same message.

Ken
 
K

Kenny G

Klatuu,
The control is a textbox called Current on the form "frmDataView" and the
Control Source is Current (a field in the underlying table called
"tblpolicyreview.") I put the hyperlink on the form where the field Control
is located.

The Access DB and the .docs and .pdfs are on the network in the same folder.

I don't know if I have given you what you have requested.

Thanks,
 
K

Klatuu

I don't know. I know I was getting the error when I first tried to use a
hyperlink and was advised to use the code to which I referred you and it
cured it for me.

I just ran some testing, and don't get the problem. I put a .doc file in
the folder with my mdb and passed only the file name and it worked.

I guess it could be related to the Windows firewall settings, but I don't
really know. You might check with your network or security people.
 
K

Klatuu

Okay, Kenny. I also posted the question in a location other MVP's use.
Maybe one of them can help. If I get a response, I'll let you know.
 
K

Klatuu

Also, try doing it with the doc but without the pdf.
I am hearing the pdf files can be a problem with the warnings.
 

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