Solved

Execute process on a Remote Computer

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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 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…
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…

863 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

20 Experts available now in Live!

Get 1:1 Help Now