Solved

Call an exe from another computer

Posted on 2011-02-27
2
427 Views
Last Modified: 2012-06-27
I have an .exe from a third party program that runs on a server (Windows server 2003). There is a scheduled-task that runs this every hour or so.

I would like the ability to run this on-demand from an internally built VB program on a workstation.  It's a simple command-line referencing the .exe with an argument and a switch, so we would put a button on a form in this VB program to call this command line.

Something like a Shell() call--but that's not possible because the .exe program and all it's dll's, registry entries, etc, are on the server, not the workstation.

I understand there are security implications and I don't want to have to write some daemon or polling program on the server.

So can anyone tell me how this might be accomplished?
Thanks,
James
0
Comment
Question by:prairie1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
ChiefTechGuru earned 500 total points
ID: 34993474
0
 

Author Closing Comment

by:prairie1
ID: 34993566
Thanks!  That will do the trick!
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question