Solved

Execute process on a Remote Computer

Posted on 2004-08-05
8
178 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
  • 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

856 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