473,405 Members | 2,421 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

parameter passing to lauched applications.

Hai all, I am interested to know how the following
can be done. I don't deal with HTML much and therefore
would like to get help.

The user should be able to see a link. Upon clicking
the link an application (e.g. Calculator) is launched.
The launched application should be able to request the
Web Browser environment to pass any and all parameter
values.

The following is my version of the html code.

<A href="calc.exe" param_1="3, param_2="6">Get Product</A>

Upon clicking the program the Calculator program will be
launched and the product 3 * 2 = 6 will be displayed.

Could you please give an example. I know how to setup
a simple link. I don't know how the link is written
to launch an application. For example the string "calc"
into the "run" window on Microsoft platform will launch
the Calculator program. The same does not do from the
link, most likely due to "PATH" env variable not being
available to the browser.

thanks. ramesh.
Jul 20 '05 #1
7 2618
Els
Ramesh wrote:
I don't know how the link is written
to launch an application. For example the string "calc"
into the "run" window on Microsoft platform will launch
the Calculator program. The same does not do from the
link, most likely due to "PATH" env variable not being
available to the browser.


You can't launch programs on the visitor's computer.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Cristina Aguilera - Can't Hold Us Down
Jul 20 '05 #2

Els wrote:
Ramesh wrote:

I don't know how the link is written
to launch an application. For example the string "calc"
into the "run" window on Microsoft platform will launch
the Calculator program. The same does not do from the
link, most likely due to "PATH" env variable not being
available to the browser.

You can't launch programs on the visitor's computer.


Isn't that a new feature in the next IE version? :-)

--
/Arne
http://w1.978.telia.com/~u97802964/
Jul 20 '05 #3
Els
Arne wrote:
Els wrote:
Ramesh wrote:
I don't know how the link is written
to launch an application. For example the string "calc"
into the "run" window on Microsoft platform will launch
the Calculator program. The same does not do from the
link, most likely due to "PATH" env variable not being
available to the browser.


You can't launch programs on the visitor's computer.


Isn't that a new feature in the next IE version? :-)


Feature?
Maybe I'll ditch Windows and go for Linux then :D

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Jul 20 '05 #4

Els wrote:
Arne wrote:

Els wrote:

Ramesh wrote:
I don't know how the link is written
to launch an application. For example the string "calc"
into the "run" window on Microsoft platform will launch
the Calculator program. The same does not do from the
link, most likely due to "PATH" env variable not being
available to the browser.

You can't launch programs on the visitor's computer.


Isn't that a new feature in the next IE version? :-)

Feature?
Maybe I'll ditch Windows and go for Linux then :D


I belive staying away from IE will do. But if Windows/IE want to make
my coffee, I will go for Linux because I don't like caffeine free
coffee <g>

--
/Arne
http://w1.978.telia.com/~u97802964/
--------------------------------------------------------------
Webbläsare är dumma. Om du ger dem kod som är mer komplicerad
än den behöver vara, kommer de att göra dumma saker.
--------------------------------------------------------------
Jul 20 '05 #5
Arne <ar********@telia.com> wrote in message news:<5C********************@newsc.telia.net>...
Els wrote:
Arne wrote:

Els wrote:
Ramesh wrote:
>I don't know how the link is written
>to launch an application. For example the string "calc"
>into the "run" window on Microsoft platform will launch
>the Calculator program. The same does not do from the
>link, most likely due to "PATH" env variable not being
>available to the browser.

You can't launch programs on the visitor's computer.

Isn't that a new feature in the next IE version? :-)

Feature?
Maybe I'll ditch Windows and go for Linux then :D


I belive staying away from IE will do. But if Windows/IE want to make
my coffee, I will go for Linux because I don't like caffeine free
coffee <g>

I may have been a bit loose in my description. What do you call the launch
of Quicktime or Realplayer to play video/audio files. When the browser attempts
to get the specified url it can recognize if it is data it can handle. If not
before requesting the url, at least when the data stream arrives it recognizes
the data type is for a helper app to handle and simply passes that handle.

I am assuming something similar could be done. ramesh
Jul 20 '05 #6
Ramesh wrote:
the launch of Quicktime or Realplayer to play video/audio files.
When the browser attempts to get the specified url it can recognize
if it is data it can handle.


What you need: a normal link in your html, and a server that sends the
correct MIME type for the file.

<a href="foo.ram">my answering maching ogm</a>

Your sever must be configured to send

audio/x-pn-realaudio

as the MIME type for foo.ram.

HTH

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #7
Ramesh <re*******@yahoo.com> wrote:
I may have been a bit loose in my description. What do you call the
launch of Quicktime or Realplayer to play video/audio files. When the
browser attempts to get the specified url it can recognize if it is data
it can handle. If not before requesting the url, at least when the data
stream arrives it recognizes the data type is for a helper app to handle
and simply passes that handle.

I am assuming something similar could be done. ramesh


See the answer to the Frequently Asked Question, "How do I force the
browser to download a file? How do I force the browser to show/play a file
itself? How do I force a file to be opened by a particular program?"
<http://www.htmlhelp.com/faq/html/media.html#force-download>
--
Darin McGrew, mc****@stanfordalumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp.com, http://www.HTMLHelp.com/

key ring /'kE 'ri[ng]/ n. device enabling simultaneous loss of multiple keys
Jul 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Belinda | last post by:
Hello All I have the following test.asp page which needs one parameter querystr but my querystr is a very long string value. When I send a long value the query string is getting truncated after...
3
by: WGW | last post by:
Though I am a novice to MS SQL server (2000 I believe), I can do almost! everything I need. Maybe not efficiently, but usefully. However, I have a problem -- a complex query problem... I can...
6
by: wiredless | last post by:
What is the advantage of passing an interface type? according to UML (visio) when i reverse engineer existing code to a UML diagram I get the error "UMLE00046: sample : - An interface cannot...
21
by: vmsgman | last post by:
Here is a code sample ... int blah = ReadFile( defArray, defFileName, w, h); // Read File Contents into memory array and return for processing public int ReadFile( ref ushort nArray, string...
20
by: Brien King | last post by:
If I have a parameter that has an Object type (as opposed to something like a string), can I make that parameter a CONST? Right now, if you pass an object into a sub/function, that sub/function...
6
by: placek | last post by:
Hi all. I would like to create two web services: - The first one - ImportData - should take as an input parameter a XML document and return an integer saying if passed XML document was valid...
1
by: adriann | last post by:
I encounterd a form which required a date in a specific format. I clicked on an icon representing a calendar. A calendar object in a tiny window lauched to allow me to choose a date. After...
3
by: senfo | last post by:
I'm trying to pass a Nullable type as a parameter to the TryParse() method (both int and float types) and I'm not having any luck. I've tried casting as well as passing just the T.Value property;...
12
by: ArunDhaJ | last post by:
Hi Friends, Is it possible to pass a table as a parameter to a funtion. whos function declaration would look some thing like this.... ALTER FUNCTION TempFunction (@TempTable TABLE, @nPId INT) ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.