?
Solved

Need to open Computer Management from VB and connect to remote machine.

Posted on 2007-12-06
7
Medium Priority
?
1,328 Views
Last Modified: 2008-02-09
I'm trying to find a way to open Computer Managment from within a VB program that will then connect to a remote machine. I know how to do it from a command prompt, but I would like to do this without using a shell command. Ideas?
0
Comment
Question by:jcamping
  • 3
  • 2
6 Comments
 

Author Comment

by:jcamping
ID: 20442529
OK, so since I'm not getting any responses, maybe more points will help.
0
 
LVL 5

Expert Comment

by:dentab
ID: 20801837
Sorry, but just to clarify - what do you mean open computer management?

Do you mean to control some specific elements from VB directly, or just open a computer management console window (like you would from the command prompt)?
0
 

Accepted Solution

by:
jcamping earned 0 total points
ID: 20801908
I already found a solution for this, I just forgot to post it.
Process.Start("compmgmt.msc", "/computer=" & strcomputer)
0
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!

 
LVL 5

Expert Comment

by:dentab
ID: 20802253
thats VB.Net isnt it?
0
 
LVL 5

Expert Comment

by:dentab
ID: 20806003
No objection, the author answered their own question.

Prehaps it could be moved though to the correct zone?
0
 
LVL 1

Expert Comment

by:Computer101
ID: 20859732
Closed, 250 points refunded.
Computer101
EE Admin
0

Featured Post

Technology Partners: 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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…
Suggested Courses
Course of the Month16 days, 11 hours left to enroll

862 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