Solved

Execute process on a Remote Computer

Posted on 2004-08-05
8
181 Views
Last Modified: 2010-05-02
Using Visual Basic can you Execute a process on a Remote Computer.

I would like to start an application on a remote computer, how can this be done with VB.

ITRNP
0
Comment
Question by:ITRNP
[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
  • 3
  • 2
8 Comments
 
LVL 11

Expert Comment

by:ajaikumarr
ID: 11725295
Hai,

See this article this might help you
http://www.codeguru.com/Cpp/I-N/network/remoteinvocation/article.php/c5433

Bye
Ajai
0
 
LVL 11

Expert Comment

by:ajaikumarr
ID: 11725300
0
 
LVL 11

Accepted Solution

by:
ajaikumarr earned 125 total points
ID: 11725320
Hai,

To execute app using WMI scripts see this link.
http://www.enterpriseitplanet.com/resources/scripts_win/article.php/3081841

Bye
Ajai
0
 

Author Comment

by:ITRNP
ID: 11726395
I am going to take a look at these and get back to you.

I have used PSExec before, but I am looking to do this programmatically with VB.

I will let you know.

Thanks,
ITRNP
0
 

Author Comment

by:ITRNP
ID: 11727861
The third options seems to work for me, I have set it up and I can execute the remote process.

I even see the process start in Task Manager, as a process, but the application never displays and does not run the code.

For instance, when the process starts it should perform a specific task, but it never does.

It loads as a process and then never exits or performs any actions.

Hope soemone can help me figure this out.

Thanks,
ITRNP
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
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.
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…
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…

724 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