Solved

Execute process on a Remote Computer

Posted on 2004-08-05
8
179 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…

762 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