This week's book giveaway is in the Testing forum.
We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Launching an application from a broswer? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Launching an application from a broswer?" Watch "Launching an application from a broswer?" New topic
Author

Launching an application from a broswer?

Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
I currently find myself in a position in which I'd like to be able to launch a Windows application from a web browser (presumably IE). Is there any way to do so? I'm most fluent in JavaScript (meaning I can write a little without pulling my hair out), but if this can be done through some other technology, I'm open to suggestions.
Any ideas? As an example, is it possible to launch Notepad from a browser window, possibly by clicking on a link?
Thanks,
Corey


SCJP Tipline, etc.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
well it can be as simple as this: <a href="file:///C:\WINDOWS\Notepad.exe">Notepad</a>

or as complicated as this link: http://www.midrangeserver.com/mpo/mpo052302-story01.html
See if that helps..
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
Thanks, Eric - I haven't had a chance to look through all of it just yet, but that looks like it's exactly what I was after. Thanks so much.
Corey
 
IntelliJ Java IDE
 
subject: Launching an application from a broswer?
 
Threads others viewed
Launching Browser in Remote Location
launch other programs from Java app
How to use swings with applet
Launching Other Programs from Java Script
run SWING app from browser
developer file tools