473,473 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Running an exe on a remote machine

Liz
Greetings.

Again, I'm hoping I'm answering an absurdly simple
question. My current situation is this: I have an .exe
file that contains numerous Shell commands that run an
external program that exists only on a specific production
machine. Various users on my network will need to be able
to activate this executable from their own desktops, as
they cannot have access to the physical machine with the
software or VNC access. Being new to the .NET environment
(and to Visual Basic), I'm not entirely sure how to make
the call to the .exe on the production machine such that
the executable will run on it's host machine and not on
the calling machine.

Do I need to investigate .NET Remoting, or is there a
simple solution to my problem?

Thanks in Advance.
Liz
Nov 20 '05 #1
2 5734
Hi Liz,

You cannot execute the executable just through the UNC path otherwise it
will make a local copy and execute from there.

So remoting is an option of course. If you want to kinda make it easy on
yourself, I would use a windows service to ensure the application is
executed on your production machine, basically call the service and tell it
to do something (this is actually a pretty good instance of webservices I
think) and then if you want something back, you can get it.

Hope it helps.

-CJ
"Liz" <ch*********@earthlink.net> wrote in message
news:01****************************@phx.gbl...
Greetings.

Again, I'm hoping I'm answering an absurdly simple
question. My current situation is this: I have an .exe
file that contains numerous Shell commands that run an
external program that exists only on a specific production
machine. Various users on my network will need to be able
to activate this executable from their own desktops, as
they cannot have access to the physical machine with the
software or VNC access. Being new to the .NET environment
(and to Visual Basic), I'm not entirely sure how to make
the call to the .exe on the production machine such that
the executable will run on it's host machine and not on
the calling machine.

Do I need to investigate .NET Remoting, or is there a
simple solution to my problem?

Thanks in Advance.
Liz

Nov 20 '05 #2
Liz
Thanks, CJ. A Windows service it is.

Liz
-----Original Message-----
Hi Liz,

You cannot execute the executable just through the UNC path otherwise itwill make a local copy and execute from there.

So remoting is an option of course. If you want to kinda make it easy onyourself, I would use a windows service to ensure the application isexecuted on your production machine, basically call the service and tell itto do something (this is actually a pretty good instance of webservices Ithink) and then if you want something back, you can get it.
Hope it helps.

-CJ
"Liz" <ch*********@earthlink.net> wrote in message
news:01****************************@phx.gbl...
Greetings.

Again, I'm hoping I'm answering an absurdly simple
question. My current situation is this: I have an .exe
file that contains numerous Shell commands that run an
external program that exists only on a specific production machine. Various users on my network will need to be able to activate this executable from their own desktops, as
they cannot have access to the physical machine with the
software or VNC access. Being new to the .NET environment (and to Visual Basic), I'm not entirely sure how to make
the call to the .exe on the production machine such that
the executable will run on it's host machine and not on
the calling machine.

Do I need to investigate .NET Remoting, or is there a
simple solution to my problem?

Thanks in Advance.
Liz

.

Nov 20 '05 #3

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

Similar topics

5
by: Roger | last post by:
I would like to get a list of running processes on a remote machine. How is this possible via VB.Net? Is it possible? Can someone point me in the right direction. thanks, rog
4
by: Dr. StrangeDub | last post by:
I am part of a group that has developed an ASP.Net web application. I am looking for a way to determine whether or not the browser is actually running on the web server. For this case (when...
9
by: Marina Anufreichik | last post by:
Hi, After deploymnet web application on web server I can access page on local machine and login fine but when I'm trying to access web site from remote machine I can see login page, but when I'm...
1
by: Chidvilas | last post by:
// Get all processes running on the remote computer. Process remoteAll = Process.GetProcesses("XYZ"); when I am exectuing the above code, it is giving excetpion saying "Couldn't get process...
1
by: vighnesh | last post by:
Hi All I am dealing a project in ASP.NET in which I have to establish a connection to SQL Server 2000 database,where the database was located on a remote system. For this I have used...
1
by: DR | last post by:
What ports do i need to unblock on client and server (running msvsmon.exe) to debug remotely from my client box with visual studio 2005 pro? When I attach to remote process a connection shows up...
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
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,...
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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...

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.