473,748 Members | 7,377 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1525
David,

Consider using an ActiveX control.

Eliyahu

"david" <da***@discussi ons.microsoft.c om> wrote in message
news:76******** *************** ***********@mic rosoft.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***@discussi ons.microsoft.c om> wrote in
news:76******** *************** ***********@mic rosoft.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********@rog ers.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***@discussi ons.microsoft.c om> wrote in
news:76******** *************** ***********@mic rosoft.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********@rog ers.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***@discussi ons.microsoft.c om> wrote in
news:B9******** *************** ***********@mic rosoft.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********@rog ers.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
2191
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 the client-side stops certain errors being transmitted so saves on bandwidth and server-side my catch errors that are missed on the client-side. Anything else would be great. Thanks.
17
2556
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 with a link to old information that suggests use of "navigator": http://developer.irt.org/script/43.htm
3
1857
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 Index.html. After finishing its work, it should spawn a new browser and display the updated Index.html file. How can I do that? Thank you for any response.
5
4855
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, redirect a client to another page. In other way, a client will be able to send messages to another client, throw the server. These are the first funcionalities.
5
1895
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 controls on that page, before transferring focus to the browser-page and showing it to the user? (the user would be responsible for submitting the page.)
7
1934
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 javascript by default or by the user, how can i solve this problem if the javascript is disable. thank you
6
2409
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 completed finished, the second browser jusk pick up some session variables from the first browser and process right after that. It messed up everything. I was thinking about use remote_addr, but it seems not working since we are behind the...
13
2900
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 GET). I got Application.FollowHyperlink *kind* of working, but was having problem with double encoding of some characters (I had to do special things with + signs in the data, as well as never figuring out why some data was getting...
10
3261
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 where you could improve the application by detecting the browser vendor/version. Some of the posters here disagreed. Since then, I've had to deal with a few of these cases; some of them could be rewritten to use object detection, and some couldn't....
0
8828
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9537
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9367
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9243
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4599
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4869
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3309
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2213
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.