Solved

Call an exe from another computer

Posted on 2011-02-27
2
424 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
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

919 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now