Solved

Call an exe from another computer

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

744 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

15 Experts available now in Live!

Get 1:1 Help Now