Solved

Execute process on a Remote Computer

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

708 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

15 Experts available now in Live!

Get 1:1 Help Now