|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Launch Applications with HTML?
Is there any way I can use HTML to launch a Windows application, perhaps through a link? A Google-search revealed no seemingly useful results. Can anyone help with this one?
|
|
#2
|
||||||
|
||||||
|
Re: Launch Applications with HTML?
Depends on what you mean. It would a *huge* security hole if one could launch any program at any time. Imagine if the website launched "del c:\*.*".
However, if you are downloading a file, the web browser can open up an application to view the file based on extension or MIME type. I also beleive that a java or activeX appliction can launch another application, but you would be required to lower the security settings of your browser. There are also a few security holes in IE that could be used to do this. |
|
#3
|
|||||
|
|||||
|
Re: Launch Applications with HTML?
As a user, I think that'd be one of the most annoying things ever. What are you trying to do, anyway? Also think of everyone out there on Mac OS, Linux, etc. You won't score big interoperabilty points there.
|
|
#4
|
|||||
|
|||||
|
Re: Launch Applications with HTML?
i have thois thought that you are trying something with fancy video...dont do it....if it cant use plug-ins and requires ana ctual application to open its annoying...trust me
|
|
#5
|
||||
|
||||
|
Re: Launch Applications with HTML?
Quote:
Find out what he's thinking before you bash him, guys. ![]() |
|
#6
|
||||
|
||||
|
Re: Launch Applications with HTML?
It was actually nothing FIRST related (for once). I was making an Intranet page for my home network and thought it's be cool to be able to launch commmonly used programs from a small navigation bar. ::shrugs:: Sorry if I offended any of you with a simple question..
|
|
#7
|
|||||
|
|||||
|
Re: Launch Applications with HTML?
I wasn't offended. I just thought that this wouldn't go over very well in the context of a robotics team site.
|
|
#8
|
||||
|
||||
|
Re: Launch Applications with HTML?
Quote:
Anywho, does anyone have a solution to this problem? Is it possible? |
|
#9
|
||||
|
||||
|
Re: Launch Applications with HTML?
Here's a way of doing this with IE and javascript:
PHP Code:
) bugs in IE that could allow an internet page to appear as if it is on the intranet. Check what security zone Outlook is in too if you use it (it should be in Internet by default, but check anyway ) Well, you have been warned ![]() You can use this technique to open any file (it does not have to be executable). And there are similar techniques for interacting with Word, Excel, etc. And by the way, I found this script on this page originally: http://www.midrangeserver.com/mpo/mp...2-story01.html |
|
#10
|
|||||
|
|||||
|
Re: Launch Applications with HTML?
Speaking of...
Does anyone know the specific code you use to launch mpeg, or avi files in your local player from a website?? |
|
#11
|
||||
|
||||
|
Re: Launch Applications with HTML?
Just put a link to the movie in in an EMBED or OBJECT (this one is better) tag. It should work in any browser, especially if you nest the tags (put EMBED inside OBJECT, just like Flash files). A better idea is to simply provide a link to the file. Movies take time to download, so its better to make it up to the user to decide. By the way, you can put video in Flash files (Flash MX and up). The compression is excellent, and everyone has the plugin. You can easily convert your mpegs to flash.
|
|
#12
|
|||||
|
|||||
|
Re: Launch Applications with HTML?
I hate the embed tag!!! It takes forever to load the page then with an embedded video file.
That is why I want to link it somehow and let it open externally in your local media player. |
|
#13
|
||||
|
||||
|
Re: Launch Applications with HTML?
then just put a link to the file - if the user has a player for that type of file, it should launch automatically (the user may have to click the "Open" button on a dialog box, but that's unavoidable).
|
|
#14
|
|||||
|
|||||
|
Re: Launch Applications with HTML?
to make a video/audio open in a default program ... just make the link target to like "_new" or something ... it'll open a new ie window and then it should automatically launch the program like windows media players if u linked a .wmv etc file ...
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Interested.... HTML | Pin Man | Website Design/Showcase | 12 | 09-01-2004 08:53 |
| HTML poll | EddieMcD | CD Forum Support | 9 | 16-06-2003 08:19 |
| Any good HTML editors available? | PMGRACER | Website Design/Showcase | 23 | 07-06-2003 21:02 |
| Request for HTML to be allowed. | EddieMcD | CD Forum Support | 16 | 13-02-2002 18:55 |
| Second test launch of newsletter! | Ken Leung | CD Forum Support | 3 | 19-10-2001 04:29 |