Try using remoting, thats what it's ther for, maybe a remoteable proxy
object that runs on machine c that calls process.start() on the exe

-----Original Message-----
From: Ashish [mailto:[EMAIL PROTECTED]
Sent: 29 August 2003 09:42
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] Calling a exe on remote machine


Hi,

I have a machine A which calls a webmethod on machine B which hosts the
webservice. I want to call a EXE that is on machine C from this webmethod
on machine B. If I use process.start() and specify the shared EXE path of
machine C, then a security exception is thrown.

I have a doubt here:
a) IF somehow I am able to run the EXE like this, will the EXE be running
actually on machine B or machine C. I want that EXE executes at machine C
because this EXE prints on a printer on machine C.

b) How do I call this EXE on machine C from webmethod in machine B

Thank you,
Ashish

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com
**************************************************************************************************************************
Everything in this e-mail and attachments relating to the official business of 
MultiChoice Africa is proprietary to 
the company. Any view or opinion expressed in this message may be the view of the 
individual and should not automatically 
be ascribed to the company.  If you are not the intended recipient, you may not 
peruse, use, disseminate, distribute or 
copy this message. If you have received this message in error, please notify the 
sender immediately by email, facsimile 
or telephone and destroy the original message.
**************************************************************************************************************************

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to