Go to Post FRC did a lot for me in high school. I couldn't pass up the opportunity to help it do the same for others. - Oblarg [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-02-2004, 17:00
Aignam's Avatar
Aignam Aignam is offline
This Space For Sale
AKA: Anthony Mangia
#1257 (Parallel Universe)
Team Role: Scout
 
Join Date: Oct 2002
Rookie Year: 2003
Location: North Brunswick, New Jersey
Posts: 877
Aignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant future
Send a message via AIM to Aignam Send a message via Yahoo to Aignam
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?
__________________
Some Thoughts to Ponder
How does a sign turn into a lady friend? Don't optional stop signs ruin the purpose? What are pneumatics? Am I really banned from 229 for life? Can walls get bigger?

Aignam. Pronounced A-Num. Mangia backwards.

NJFIRST.org | Best Thread. Ever.

AIM: Aignam | ICQ: 265237569 | E-mail: AnthonyMangia@aol.com | HTTP: www.aignam.com
  #2   Spotlight this post!  
Unread 15-02-2004, 17:33
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,576
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
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   Spotlight this post!  
Unread 15-02-2004, 17:51
Roland's Avatar
Roland Roland is offline
Post-A-Holic
#1466
Team Role: Webmaster
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Tennessee
Posts: 169
Roland is infamous around these partsRoland is infamous around these partsRoland is infamous around these parts
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   Spotlight this post!  
Unread 15-02-2004, 18:20
David66's Avatar
David66 David66 is offline
YA TOAST!
AKA: David Butzin
FRC #0066 (The Flyers)
Team Role: Alumni
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Michigan
Posts: 155
David66 has a spectacular aura aboutDavid66 has a spectacular aura aboutDavid66 has a spectacular aura about
Send a message via AIM to David66 Send a message via Yahoo to David66
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
__________________
Proud Alumni of Team 66
2005 Great Lakes Regional Champions with Team 67 (HOT) and Team 68 (Truck Town Thunder).

2005 West Michigan Regional Champions with team 107 (Holland Christian High School) and Team 93 (New Apple Corps)

2002 National Champions
  #5   Spotlight this post!  
Unread 15-02-2004, 19:18
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Launch Applications with HTML?

Quote:
Originally Posted by Aignam
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?
What exactly do you want to do?

Find out what he's thinking before you bash him, guys.
__________________

  #6   Spotlight this post!  
Unread 15-02-2004, 20:33
Aignam's Avatar
Aignam Aignam is offline
This Space For Sale
AKA: Anthony Mangia
#1257 (Parallel Universe)
Team Role: Scout
 
Join Date: Oct 2002
Rookie Year: 2003
Location: North Brunswick, New Jersey
Posts: 877
Aignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant future
Send a message via AIM to Aignam Send a message via Yahoo to Aignam
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..
__________________
Some Thoughts to Ponder
How does a sign turn into a lady friend? Don't optional stop signs ruin the purpose? What are pneumatics? Am I really banned from 229 for life? Can walls get bigger?

Aignam. Pronounced A-Num. Mangia backwards.

NJFIRST.org | Best Thread. Ever.

AIM: Aignam | ICQ: 265237569 | E-mail: AnthonyMangia@aol.com | HTTP: www.aignam.com
  #7   Spotlight this post!  
Unread 15-02-2004, 21:00
Roland's Avatar
Roland Roland is offline
Post-A-Holic
#1466
Team Role: Webmaster
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Tennessee
Posts: 169
Roland is infamous around these partsRoland is infamous around these partsRoland is infamous around these parts
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   Spotlight this post!  
Unread 15-02-2004, 21:12
Aignam's Avatar
Aignam Aignam is offline
This Space For Sale
AKA: Anthony Mangia
#1257 (Parallel Universe)
Team Role: Scout
 
Join Date: Oct 2002
Rookie Year: 2003
Location: North Brunswick, New Jersey
Posts: 877
Aignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant futureAignam has a brilliant future
Send a message via AIM to Aignam Send a message via Yahoo to Aignam
Re: Launch Applications with HTML?

Quote:
Originally Posted by Roland
I wasn't offended. I just thought that this wouldn't go over very well in the context of a robotics team site.
This particular sub-forum is not only for you to " Show off your team's website", but also to "Ask for help with HTML, PHP, CSS, XML, and other website related topics". Please don't make any unnecessary and, in this case, wrong, assumptions. That's not good posting ettiquette. Next time I will make it a point to be more specific, though. So there, a lesson learned for all of us.

Anywho, does anyone have a solution to this problem? Is it possible?
__________________
Some Thoughts to Ponder
How does a sign turn into a lady friend? Don't optional stop signs ruin the purpose? What are pneumatics? Am I really banned from 229 for life? Can walls get bigger?

Aignam. Pronounced A-Num. Mangia backwards.

NJFIRST.org | Best Thread. Ever.

AIM: Aignam | ICQ: 265237569 | E-mail: AnthonyMangia@aol.com | HTTP: www.aignam.com
  #9   Spotlight this post!  
Unread 15-02-2004, 21:55
Greg's Avatar
Greg Greg is offline
Registered User
FRC #1075 (Sinclair Sprockets)
Team Role: College Student
 
Join Date: Nov 2002
Rookie Year: 2003
Location: Whitby, Ontario, Canada
Posts: 108
Greg is on a distinguished road
Send a message via ICQ to Greg Send a message via MSN to Greg
Re: Launch Applications with HTML?

Here's a way of doing this with IE and javascript:
PHP Code:
<HTML>
<
HEAD>
<
SCRIPT type="text/javascript" LANGUAGE="JavaScript">
  function 
executeCommands()
   {
  
// Instantiate the Shell object and invoke its execute method.
    
var oShell = new ActiveXObject("Shell.Application");
    var 
commandtoRun "C:\\Windows\\Notepad.exe";
 
// Invoke the execute method.  
     
oShell.ShellExecute(commandtoRun""
   
"""open""1");
  }
</SCRIPT>
</HEAD>
<BODY>
<CENTER>
<Input type="Button" name="cmdNote" 
   value="Run Notepad" onClick="executeCommands();"  />
</CENTER>
</BODY>
</HTML> 
Once you save this as an HTML file and open it in IE, you can run Notepad by clicking the button. A security warning should pop up. If you want to get rid of it, modify security settings for the Local Intranet zone to allow "opening programs in an IFRAME". Be very careful when doing this. There are known (and unknown yet ) 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   Spotlight this post!  
Unread 15-02-2004, 22:39
Elgin Clock's Avatar
Elgin Clock Elgin Clock is offline
updates this status less than FB!
AKA: the one who "will break into your thoughts..."
FRC #0237 (Black Magic)
Team Role: Mentor
 
Join Date: May 2001
Rookie Year: 2001
Location: H20-Town, Connecticut
Posts: 7,773
Elgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond repute
Send a message via AIM to Elgin Clock
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??
__________________
The influence of many leads to the individuality of one. - E.C.C. (That's me!!)

  #11   Spotlight this post!  
Unread 15-02-2004, 22:47
Greg's Avatar
Greg Greg is offline
Registered User
FRC #1075 (Sinclair Sprockets)
Team Role: College Student
 
Join Date: Nov 2002
Rookie Year: 2003
Location: Whitby, Ontario, Canada
Posts: 108
Greg is on a distinguished road
Send a message via ICQ to Greg Send a message via MSN to Greg
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   Spotlight this post!  
Unread 15-02-2004, 22:50
Elgin Clock's Avatar
Elgin Clock Elgin Clock is offline
updates this status less than FB!
AKA: the one who "will break into your thoughts..."
FRC #0237 (Black Magic)
Team Role: Mentor
 
Join Date: May 2001
Rookie Year: 2001
Location: H20-Town, Connecticut
Posts: 7,773
Elgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond repute
Send a message via AIM to Elgin Clock
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.
__________________
The influence of many leads to the individuality of one. - E.C.C. (That's me!!)

  #13   Spotlight this post!  
Unread 16-02-2004, 00:10
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
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).
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)
  #14   Spotlight this post!  
Unread 16-02-2004, 12:09
zeep25's Avatar
zeep25 zeep25 is offline
Registered User
AKA: Adil Karim
#0369 (Team Nuts and Volts)
Team Role: Webmaster
 
Join Date: Jan 2004
Location: Brooklyn, NYC
Posts: 26
zeep25 is an unknown quantity at this point
Send a message via AIM to zeep25 Send a message via Yahoo to zeep25
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 ...
__________________
Roles: Programmer, Webmaster, (All rounder) including Electrical and Mechanical
Gearbox - Team Nuts and Volts - 369
http://www.gearbox36.org/
  #15   Spotlight this post!  
Unread 16-02-2004, 12:49
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: Launch Applications with HTML?

just link to it - not all applications play the video inline with the browser, so you'd end up just giving a useless extra blank window to some users.
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 00:28.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi