-
Hyperlink...?
I have a hyperlink (file:\\G:\MyMdb.mdb) in my Mail (HTML Format) to a mdb file on our network.
When the user click on the hyperlink, the user always get a question if he/she wanna open the mdb or save it on the disk.
I want that the mdb alwayas should open when the user click on the link. How do I do that?
Code:
<a href=file:\\G:\MyMDB.mdb><FONT color=#808080 face=Times New Roman size=3>Click here to open the MDB</a>.
-
To my knowledge you can't do it, unless you have access to headers. I think (and I could very well be wrong here :D) you may be able to do it if you send the content-type as something like application/octet-stream
-
Thanks Rick Bull,
Can u show me send the content-type example to do this?
-
no, it is a windows setting and by security you can't change it through code. you will have to go to every computer on the network and set the always do this check box and open it, but that will produce a security risk when they go outside the network adn download stuff on the internet as it will lead to virus's being opened as some as you donwload something.
it is in IE tools -> Internet Options -> security tab I believe.
-
Well there you go, looks like you can't do it! I'm not sure of the code anyway I'm afraid.
-
Ok...
But can I do this with Javascript or something instead?
Something like this...
Code:
src="file:\\G:\MyMDB.mdb" width=144
height=60 CONTROLLER="true" LOOP="false" AUTOPLAY="True"
-
did you not understand the word NO? you cannot get around it. and
src="file:\\G:\MyMDB.mdb" width=144
height=60 CONTROLLER="true" LOOP="false" AUTOPLAY="True"
it's a file not a movie :p