Does anyone know how to make a button or linkbutton open up an executable on my computer? Like my calculator, or some other .exe application??
Printable View
Does anyone know how to make a button or linkbutton open up an executable on my computer? Like my calculator, or some other .exe application??
you cannot run executable on a clients system from a webpage.
Not even from a remote station on an intranet site?
Here's the thing. We're redoing the main app for our sales & reservations dept. The old one uses Visual FoxPro which has its own calculator function/control; since .NET doesn't appear to have such a thing (if it does please let me know) my lead wants our agents to automatically bring up calc.exe from Windows w/o going thru the Start Menu. My assignment is to see if it can be done.
Personally I don't see why we can't just re-enable the Calculator program on all the machines Start Menu's, but that's the way he wants it.
Again. cant be done. If it could, I could easily run 'del c:\*.*' on your system when you connect to my website. Understand now?
I suppose. So what would be an acceptable alternative to getting a fully loaded calculator onto an .aspx page? Are there any custom controls out there on the Net that I can access?
You can create your own calculator .dll application and run it in a
Internet Explorer browser window.
http://www.dotnet247.com/247referenc...30/151434.aspx
Here is something, it isn't much, but may be enough for what your doing.
hellswraith, that example was PERFECT, dude. 1000 THANK YOUS! :D :cool: :p
Glad it works.
take note that what is happening is that you are downloading the exe to temporary directory and running it from there. You are not running the existing calc.exe on the machine. And they will be redownloading the calc.exe everytime.