Is it possible (and if so how is it done) to run an exe file locally on a client PC from within an ASP page? For example, can I open MS Access locally by having a user click on a link in a web page?
The server will not be able to do this. however as stated in the other thread on text files client scripting can. but I think you need to answer the questions raised and commented on in that thread first to get into that side of things.
____________________________________________________
[sub]The most important part of your thread is the subject line.
Make it clear and about the topic so we can find it later for reference. Please!! faq333-3811[/sub]
Running exe files from a browser is a bit of a security risk so it's generally not advised. However, if you use something like :
<script type="text/javascript" language="JavaScript">
function runCmd() {
var oShell = new ActiveXObject("Shell.Application"
var cmdToRun = "C:\winnt\Notepad.exe";
oShell.ShellExecute(cmdToRun,"","","open","1"
}
</script>
and muck about with the permissions, you might be able to do it (I think the browser has to be able to interact with the desktop or something).
but I think that is just for running apps on the web server.
As for running Access though, you should find that Access has a nice "Create data access page" function that converts the tables to ASP code for you which might be worth a try.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.