Hi,
is it possible to use the top level menu item to open an external file?
So for example
aI("text=Database;url=P:\this folder\that folder\database.mdb;");
Would open my access databse externally to the html page (obviously)
Thanks
Alex
Top Level Link
You should be able to open anything with a standard URL; e.g., http://site.com/database.mdb. Going down to drive level is not necessary.
You said, "Would open my access databse externally to the html page (obviously)". I hope that doesn't mean open it in the browser, which, of course, won't happen. You're also assuming that everybody in the world has a Windoze machine, and of that group they all have a version of Office that includes Access.
You said, "Would open my access databse externally to the html page (obviously)". I hope that doesn't mean open it in the browser, which, of course, won't happen. You're also assuming that everybody in the world has a Windoze machine, and of that group they all have a version of Office that includes Access.
John
Hello.
You can create the link to utilize a file:// protocol entry, but the I believe most browsers will throw security errors when trying to execute the load (crossing from http to file protocol domains). I quickly tried a test and Firefox refused to allow the file load on a deployed test app.
James.
You can create the link to utilize a file:// protocol entry, but the I believe most browsers will throw security errors when trying to execute the load (crossing from http to file protocol domains). I quickly tried a test and Firefox refused to allow the file load on a deployed test app.
James.
Thanks chaps
A few replies there.
Well I'm not trying to open a url into a web window - I'm targeting an access database on a hard drive that is hidden way down the driectory structure. I just want to open the database file from the menu. Just like as if you clicked o the dtabase shortcut exe.
Can this be done?
Thanks,
Alex
Well I'm not trying to open a url into a web window - I'm targeting an access database on a hard drive that is hidden way down the driectory structure. I just want to open the database file from the menu. Just like as if you clicked o the dtabase shortcut exe.
Can this be done?
Thanks,
Alex
Thanks guys
May seem like I'm stupid but I cant get this to work.
Currewntly I use
aI("text=Database;url=target="_blank" href="../maos.mdb";");
But this is bad code and actually opens(if it worked) a blank window. I dont want a window at all if at all possible - just to trigger the file. How to do this?
Thanks,
Alex.
Currewntly I use
aI("text=Database;url=target="_blank" href="../maos.mdb";");
But this is bad code and actually opens(if it worked) a blank window. I dont want a window at all if at all possible - just to trigger the file. How to do this?
Thanks,
Alex.
sorted
Hi again,
its sorted like this
aI("text=Database;url=../data.mdb;");
It works but I think like a guy said earlier ie throws up a security warning but that doesnt actually stop the database opening via IE. This is an intranet base that runs solely on IE so I guess that will do for me.
Shame about the security warning through becuase if you hit run it opens another instance of the db.
Thanks,
Alex.
its sorted like this
aI("text=Database;url=../data.mdb;");
It works but I think like a guy said earlier ie throws up a security warning but that doesnt actually stop the database opening via IE. This is an intranet base that runs solely on IE so I guess that will do for me.
Shame about the security warning through becuase if you hit run it opens another instance of the db.
Thanks,
Alex.