473,657 Members | 2,765 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Call a exe on client machine from a webform

Hi,
I have a webform, The link on the webform should call the exe program
installed on the client machine when the user click the link on the webform.
It should run the exe installed on the client machine. I am not able to run
the client application from my webform.
Any suggestions or link would be great help.

Thanx
Prasad
Jul 21 '05 #1
3 1842
And the error is ?

It's also likely it couldn't work with later browsers (AFAIK you'll nto be
able to reference a local resource from a page that comes from he "Internet"
zone (perhaps by adding the site in a more trusted zone ?)

Try perhaps first with a plain old htm page to see if this is the case.

Patrice

--

"Prasad Patil" <Pr*********@di scussions.micro soft.com> a écrit dans le
message de news:6A******** *************** ***********@mic rosoft.com...
Hi,
I have a webform, The link on the webform should call the exe program
installed on the client machine when the user click the link on the webform. It should run the exe installed on the client machine. I am not able to run the client application from my webform.
Any suggestions or link would be great help.

Thanx
Prasad

Jul 21 '05 #2
You cannot do that. This would be a security issue if you are able to do it.

"Prasad Patil" wrote:
Hi,
I have a webform, The link on the webform should call the exe program
installed on the client machine when the user click the link on the webform.
It should run the exe installed on the client machine. I am not able to run
the client application from my webform.
Any suggestions or link would be great help.

Thanx
Prasad

Jul 21 '05 #3
Normally not allowed. Assuming you provided the EXE to the customer, you
could always write it to be an ActiveX control that is installed on the
local machine.

It would be cool... but hackers would go wild. Can't you just imagine the
havoc that would cause if it were allowed?

You could work around this in another way. You could write a seperate
client app that accesses your web site, determines what you need from the
site, and opens a local app. That would work. The client app would have to
be installed on the client machine, of course, and the user would start it
instead of their browser, so the user will have given you permission to
start an app locally.

--- Nick

"Prasad Patil" <Pr*********@di scussions.micro soft.com> wrote in message
news:6A******** *************** ***********@mic rosoft.com...
Hi,
I have a webform, The link on the webform should call the exe program
installed on the client machine when the user click the link on the webform. It should run the exe installed on the client machine. I am not able to run the client application from my webform.
Any suggestions or link would be great help.

Thanx
Prasad

Jul 21 '05 #4

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

Similar topics

2
1566
by: Jack Addington | last post by:
I am working on app that currently all resides on the same machine but plan to pull the database off and try to move all the datafunctionality to a remote machine. I have a data function that is processing a loop of rows and calling a stored proc for each row. All is encapsulated within a single oracle transaction. I have a logic class that is making a call to the dataaccess class and passing the rows. I can serialize the dataobject...
3
2399
by: Ron Rasmussen | last post by:
Greetings I have a webform that I need to download a DLL to the client's PC and then call the DLL and pass it a value. I have looked everywhere but I can't find a good example Any suggestions? Ron
7
3204
by: lvpaul | last post by:
Hallo ! I am using IIS-Windows-Authentication in my intranet (web.config <authentication mode="Windows" /> <identity impersonate="true" /> How can I get the users (client) IP-Address ? I think the username can be read with user.identity.name.
3
286
by: Prasad Patil | last post by:
Hi, I have a webform, The link on the webform should call the exe program installed on the client machine when the user click the link on the webform. It should run the exe installed on the client machine. I am not able to run the client application from my webform. Any suggestions or link would be great help. Thanx Prasad
1
1641
by: Rocky | last post by:
I have a problem. I have a webform, which uses impersonation. My iis is set to windows integrated authentication and anonymous is disabled. My webform connects to active directory and retrieves user information. This webform works great on the local machine. But if i run it from a remote machine, it has trouble connecting to AD. I've down some searching and it has to do with the impersonation. I use impersonation to authenticate myself...
12
2886
by: SAL | last post by:
Hello, Is it possible to read a CSV from the Client, and bind my Datagrid to the data in the CSV file without uploading the file to the Server first? I have tried and in Debug mode on my workstation it works fine, but when I publish the page on our DEV server it doesn't fine the CSV file from the client. Has anyone done this before? If so, how do I do it? I'm new to ASP.net so
11
3842
by: JCav | last post by:
I need to call a COM object from a remote machine using C#. I also need to pass on a different userID and password to the call. Has anyone done this? I've used Java to do this using JIntegra, but the application I'm using requires .NET. Any advice?
3
1565
by: James | last post by:
Hi, I have built a windows app that makes calls to a webservice. Both webservice and windows apps are built with .net 2.0. The problem is... when I run the client Windows app on the dev machine, calls to the production webservice are very fast (milliseconds). When I run the exact same Windows app on a different machine... same log in, calling a webservice on the same production server.... EVERY call takes 5 seconds (not just the first...
3
4416
by: Lance Wynn | last post by:
Hello, I am receiving this error when trying to instantiate a webservice component. I have 2 development machines, both are XP sp2 with VS 2008 installed. On one machine, the code works fine. On the other machine I get the error upon instantiating the service client. I add the reference by choosing Add Service Reference from the project menu, and pointing to the remote wsdl file. I can't seem to find what the difference between the two...
0
8820
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
8601
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...
1
6162
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5630
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4150
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
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
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
1937
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1601
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.