473,395 Members | 1,856 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,395 software developers and data experts.

can web browser spawn specific applicaion process at client side?

It seems that it can not do it due to security.

My boss believes that .NET ASP web form application can spawn a local
application at the client computer via web browser.

Can we do it? How to do it?

Is there any alternative way to do it?

David
Nov 19 '05 #1
4 1513
David,

Consider using an ActiveX control.

Eliyahu

"david" <da***@discussions.microsoft.com> wrote in message
news:76**********************************@microsof t.com...
It seems that it can not do it due to security.

My boss believes that .NET ASP web form application can spawn a local
application at the client computer via web browser.

Can we do it? How to do it?

Is there any alternative way to do it?

David

Nov 19 '05 #2
"=?Utf-8?B?ZGF2aWQ=?=" <da***@discussions.microsoft.com> wrote in
news:76**********************************@microsof t.com:
It seems that it can not do it due to security.

My boss believes that .NET ASP web form application can spawn a local
application at the client computer via web browser.

Can we do it? How to do it?

You can run a .NET applet (i.e. Java) within the web browser. This is
called Winforms Hosting in IE. However, I found Winforms in IE to be hard
to configure and buggy...

Otherwise you CAN launch a client side process if you have the proper
permissions. I've done it before. You do it through VBScripting using the
WSHShell object. Using WSHShell is only fesible if this is a trusted
Intranet application.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #3
Thank both of you.

I never use WSHShell. Any example about how using it.

Java Applet may not spawn any application in client side. As you said, we
perhaps have some security permision of access of the application. How to
setup this permision (i.e., executable for everyone?).

Thanks

David
Dabin
"Lucas Tam" wrote:
"=?Utf-8?B?ZGF2aWQ=?=" <da***@discussions.microsoft.com> wrote in
news:76**********************************@microsof t.com:
It seems that it can not do it due to security.

My boss believes that .NET ASP web form application can spawn a local
application at the client computer via web browser.

Can we do it? How to do it?

You can run a .NET applet (i.e. Java) within the web browser. This is
called Winforms Hosting in IE. However, I found Winforms in IE to be hard
to configure and buggy...

Otherwise you CAN launch a client side process if you have the proper
permissions. I've done it before. You do it through VBScripting using the
WSHShell object. Using WSHShell is only fesible if this is a trusted
Intranet application.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/

Nov 19 '05 #4
"=?Utf-8?B?ZGF2aWQ=?=" <da***@discussions.microsoft.com> wrote in
news:B9**********************************@microsof t.com:
Thank both of you.

I never use WSHShell. Any example about how using it.

Java Applet may not spawn any application in client side. As you said,
we perhaps have some security permision of access of the application.
How to setup this permision (i.e., executable for everyone?).

To use the Wscript.Shell object, Internet Explorer must have "Initialize
Script and ActiveX controls not marked as safe" set from Disabled to
Enabled. This can be done from the menu: Tools -> Internet Options ->
Security -> Custom Level

Here is an example on how to use the run method:

http://msdn.microsoft.com/library/de...l=/library/en-
us/script56/html/wsmthrun.asp
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #5

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

Similar topics

11
by: James | last post by:
I wasn't sure where to post this so I'm sorry if this is the wrong place. But I would like to know what some of the differences are between client-side and server-side browser sniffing. I'm aware...
17
by: lawrence | last post by:
How is it possible that the question "How do I detect which browser the user has" is missing from this FAQ: http://www.faqts.com/knowledge_base/index.phtml/fid/125 and is only here on this...
3
by: Teckie03 | last post by:
Hi, does anyone know how to display a seperate browser from server process? My ASP.NET app control (ascx) has Archive button that does its own work , including updating an html page called...
5
by: zorhel | last post by:
Hi. My clients will be IE, Mozilla and Opera in a Windows and *nix OS. So, my web app need to, from a server, send messages to a specific client (browser), send messages for all clients,...
5
by: John A Grandy | last post by:
is it possible to write a vb.net code (intended to run on the client-side) that would invoke an instance of IE, have it download a page from a certain URL, and then pre-populate some of the...
7
by: phal | last post by:
Hi I think there are many different browsers to browse to the Internet, how can I write the javascript to identify different browser and display according to the users. Some browser disable the...
6
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I am thinking about doing this since I got several cases that some of our internal users open more than one browser at the same time from our server. When one of the transactions was not...
13
by: David W. Fenton | last post by:
I've been struggling the last two days with something I thought was very easy, which is to open a web page with a form on it and populate the form with data passed in a query string (either POST or...
10
by: Conrad Lender | last post by:
In a recent thread in this group, I said that in some cases object detection and feature tests weren't sufficient in the development of cross-browser applications, and that there were situations...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...

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.