473,412 Members | 2,294 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,412 software developers and data experts.

How launch a Local application

Hi,

I'd like to launch a local application with a HTML page without any
user popup validation, just a user click. I know that I can do it with
a applet, ActiveX or a flash but I'd like manage it with on
javascript. Do you know how?

Thank you in advance.
Jul 23 '05 #1
6 3951
In article <bc**************************@posting.google.com >,
Jean-Michel <jm*****@yahoo.com> wrote:
Hi,

I'd like to launch a local application with a HTML page without any
user popup validation, just a user click. I know that I can do it with
a applet, ActiveX or a flash but I'd like manage it with on
javascript. Do you know how?

Thank you in advance.


What would keep you from starting a disk maintenence program and
deleting the entire disk?

--
Dennis Marks
http://www.dcs-chico.com/~denmarks/
To reply change none to dcsi.
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Jul 23 '05 #2
What would keep you from starting a disk maintenence program and
deleting the entire disk?


That brings up another question: What's the worst thing you can do in
JavaScript?
-Gernot
Jul 23 '05 #3
On Thu, 29 Apr 2004 18:00:08 +0200, Gernot Frisch wrote:
What would keep you from starting a disk maintenence program and
deleting the entire disk?


That brings up another question: What's the worst thing you can do in
JavaScript?
-Gernot


Crash the machine.

--
i.m.
The USA Patriot Act is the most unpatriotic act in American history.

Jul 23 '05 #4
Gernot Frisch wrote:
What would keep you from starting a disk maintenence program and
deleting the entire disk?


That brings up another question: What's the worst thing you can do in
JavaScript?


On a web browser, make anything important depend on its successful
execution.

Unless you meant: What is the most directly harmful/destructive thing
you can do with javascript? Insofar as the above doesn't already cover
that; there are security holes in some browsers that do allow scripts to
do nasty things to the user's computer (mostly exploiting ActiveX), but
they get patched. Crashing (or locking up) the browser isn't a very nice
thing to do (almost all browsers can be deliberately crashed by a script
one way or another), and consuming all of the available memory will
usually bring a browser to its knees (along with the OS sometimes).

Apart form that there are no shortage of anti-social things that can be
done with scripts. How anti-social something is depends to some extent
on the user's attitude and habits but popular candidates include:-

1. Interfering with the context menu.

2. Opening pop-up windows (especially advertising, surveys and
other unwanted intrusions).

3. Attempting to close the user's existing browser window
(particularly if the attempt is successful).

4. Opening windows with restricted features (chrome).

5. Re-sizing and/or moving existing browser windows.

6. Opening full screen windows. (or attempting to position new
windows in stupid places, such as the middle of the desktop).

7. Trapping the user into some action or sequence (usually filling
in forms) by re-focusing HTML elements/window whenever the user
attempts to do something else (which is more important to the
user at the time, else they wouldn't want to do it).

8. Modifying browser/control behaviour, keyboard shortcuts, etc,
so that interactions do not produce the normal (expected) results.

Richard.
Jul 23 '05 #5
> 3. Attempting to close the user's existing browser window
(particularly if the attempt is successful).
That's mean.
6. Opening full screen windows. (or attempting to position new
windows in stupid places, such as the middle of the desktop).
That's been solved in Firefox, phew!

7. Trapping the user into some action or sequence (usually filling
in forms) by re-focusing HTML elements/window whenever the user
attempts to do something else (which is more important to the
user at the time, else they wouldn't want to do it).
Ahrgh! I know that. And these "Back-Button" fixes, where dummies get
trapped on a site. That's really mean!
8. Modifying browser/control behaviour, keyboard shortcuts, etc,
so that interactions do not produce the normal (expected)

results.

Can it? Well, that's definitely not what I would allow it to do...

As we're going OT here, one more Q: Cookies. Is there propably any
cookie that tells my email address. Or in other words: Can a
JavaScript get my email address without having me explicitly typing
it?
-Gernot
Jul 23 '05 #6
Gernot Frisch wrote:
As we're going OT here, one more Q: Cookies. Is there propably any
cookie that tells my email address. Or in other words: Can a
JavaScript get my email address without having me explicitly typing
it?
-Gernot


I think there's a lot of confusion about what cookies are, and what they
do. A cookie contains information sent to the client by the server, or
information gathered by client-side script (assuming client-side
scripting is enabled). Cookies can only contain information that:

a) the server already knows about you (your IP address, your user agent,
etc)
b) information you have explicitly given to the server (ie - you entered
your E-mail address in an input box and submitted a form, then the
E-mail address could be stored in a cookie)
c) information gathered by client-side script with all the limitations
of scripting in whatever security environment you are operating in

In other words, if client-side script or the server don't know your
E-mail address (and they don't unless you *tell* them), then the E-mail
address can't be stored in a cookie. Even if you provide your E-mail
address to one server and it stores it in a cookie, other Web sites from
other domains will have no access to the information stored in that
cookie (assuming security is working the way it should in the browser,
there are a number of known, unpatched vulnerabilities in Internet
Explorer that would let one site access the cookies of another site if
they know the precise location and name of the cookie file).

--
| Grant Wagner <gw*****@agricoreunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html
Jul 23 '05 #7

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

Similar topics

5
by: Bob L. | last post by:
Hi everyone, I have two small applications I have written that I am trying run from a network directory. Both applications have a dependency on another assembly (.dll), and I have .NET security...
0
by: Matt Fox | last post by:
All, After installing sp2 I have this issue where if I try to launch an .MDB (Access database) file off any network share through explorer, that is open by multiple users, it will not launch...
1
by: Michael Howes | last post by:
I have a c# windows form that talks to a web service on a server that then can talk to multiple "agents" on different machines using web service calls. I want to be able to launch an application...
3
by: VB Programmer | last post by:
How can I launch a local winform application from a web page? (FYI: My goal is to have this winform be a "no touch deployment" application.) Thanks.
4
by: Dave Kolb | last post by:
If I make ASPNET a member of the admins group it can launch my COM+ object but I do not want to do that. What permissions do I need to set for the lowly ASPNET user so that it can launch a COM+...
1
by: Erica Dunn | last post by:
Hi all. I'm trying to launch a .adp file from my web page. The application is residing on the intranet, and the .adp file would be located on a shared drive that everyone would have rights to. ...
2
by: madangelo | last post by:
Applications developed using Framework 2.0 and installed on a network location take a considerable amount of time to launch. This was never the case with prior Framework versions. For example,...
3
by: Mat | last post by:
Is it possible to launch a local application from an HTML or ASP.NET page?
7
by: dongarbage | last post by:
Hi there, I'm very new to activex controls and c# programming. I'm writing a c# application and I want it to be invoked when my users click a button on a web page. Its an application with a...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.