Remote Application Launcher

Category:
Miscellaneous
Type:
Snippets
Difficulty:
Advanced
Author:
Anonymous

Version Compatibility:

More information:
This code will use WMI to Launch an executable remotely on the same network, if you have rights to that computer. You can use this to start a application or to reboot the computer. A dialog box will tell you if you where successful and if the remote process is still running after you close the sucess/failure dialog box. You need to create a Form with two Text Boxes: txtComputer and txtExecute txtComputer is the name of the name of the remote computer you will be executing the executable listed by txtExecute. You must add the following references to use this application References: Microsoft WMI Scripting v1.1 Library

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: