PDA

Click to See Complete Forum and Search --> : Hyperlink...?


Pirre001
Nov 26th, 2002, 07:44 AM
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?


<a href=file:\\G:\MyMDB.mdb><FONT color=#808080 face=Times New Roman size=3>Click here to open the MDB</a>.

Rick Bull
Nov 27th, 2002, 05:16 AM
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

Pirre001
Dec 2nd, 2002, 06:24 AM
Thanks Rick Bull,

Can u show me send the content-type example to do this?

phpman
Dec 2nd, 2002, 02:55 PM
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.

Rick Bull
Dec 3rd, 2002, 04:56 AM
Well there you go, looks like you can't do it! I'm not sure of the code anyway I'm afraid.

Pirre001
Dec 17th, 2002, 01:21 PM
Ok...

But can I do this with Javascript or something instead?
Something like this...

src="file:\\G:\MyMDB.mdb" width=144
height=60 CONTROLLER="true" LOOP="false" AUTOPLAY="True"

phpman
Dec 17th, 2002, 01:34 PM
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