Launch Access via Browser

J

j.t.w

I am trying to set up an Intranet portal and I would like to have
links open Access databases (front-ends).

Here is what I have...

<a href="file://C:/MyDB/MyFirstDB.mdb">Open MyFirstDB.mdb</a>
<a href="file://C:/MyDB/MySecondDB.mdb">Open MySecondDB.mdb</a>
..
..
..
etc.

The MyFirstDB.mdb always opens and MySecondDB.mdb never opens. When
clicking on either link a message box always asks if I want to open or
save, etc. this file. I would like to click on "Open" and have Access
launch. When and if Access launches everything works great. When it
doesn't launch, Access shows up in my Task Manager, the .ldb file is
created, but no app.

The databases are located in the same directory, I can open each of
the databases by double-clicking the file, I have full rights
(Administrator Rights) to the directory and file, none of my databases
are hidden.

I am wanting to use the Intranet portal because this is one place
where everyone comes to, no shortcuts need to be made and placed on
user's desktops, maintaining the shortcuts should a database need to
be moved is eliminated, and users would not have to remember where the
database files are located.

Is there a better way to do what I'm trying to accomplish? Could I
maybe call a batch file (script) to launch the app? How does everyone
else handle this situation?

Hope I've given enough information, please let me know if more is
needed.

Thank you for any and all help.

j.t.w
 
S

Sam Hobbs

First, the scripting experts can help you better. In other words, a Windows
scripting newsgroup. Actually, you probably want to ask this question in an
Internet Explorer scripting newsgroup.

One thing to look at is HTML Applications, which are HTML files with a HTA
extension instead of HTM or HTML extension. The problem you are encountering
is security-related and in most situations we want the restrictions (you
probably already know that). A HTA file has fewer restrictions because they
are designed to be used the way you are trying to use a HTML file. You can
look up "HTML Applications" and HTA files in the MSDN and then find the
relevant newsgroup(s).
 

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