Solved

Call an exe from another computer

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

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 …
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Suggested Courses
Course of the Month9 days, 15 hours left to enroll

624 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