473,774 Members | 2,248 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Programmaticall y open compmgmt.msc

Thank you in advance for any and all assistance. I'm building a technician's
tool and I'm trying to create a Jump Panel of buttons to the Windows System32
folder to open files programmaticall y. I have the majority of the program
files opening except the Microsoft Computer Management console.

I've tried in the button click event
Shell("C:\WINDO WS\system32\com pmgmt.msc")

and nothing happens. No open program, no errors nothing.

Michael
Jul 8 '06 #1
10 6210
eSolTec wrote:
>Thank you in advance for any and all assistance. I'm building a technician's
tool and I'm trying to create a Jump Panel of buttons to the Windows System32
folder to open files programmaticall y. I have the majority of the program
files opening except the Microsoft Computer Management console.

I've tried in the button click event
Shell("C:\WINDO WS\system32\com pmgmt.msc")

and nothing happens. No open program, no errors nothing.

Michael

Try this:

Shell("C:\WINDO WS\system32\com pmgmt.msc /s")

T

Jul 8 '06 #2
or you could try using the Process Class

Dim proc as new Process
Dim procSI as new ProcessStartInf o("C:\WINDOWS\s ystem32\compmgm t.msc /s")

proc.StartInfo = procSI
proc.Start()
that should work too
--
-iwdu15
Jul 8 '06 #3
T,

Thank you for the tip. I tried it and no success.

Michael

"tomb" wrote:
eSolTec wrote:
Thank you in advance for any and all assistance. I'm building a technician's
tool and I'm trying to create a Jump Panel of buttons to the Windows System32
folder to open files programmaticall y. I have the majority of the program
files opening except the Microsoft Computer Management console.

I've tried in the button click event
Shell("C:\WINDO WS\system32\com pmgmt.msc")

and nothing happens. No open program, no errors nothing.

Michael
Try this:

Shell("C:\WINDO WS\system32\com pmgmt.msc /s")

T

Jul 8 '06 #4
IWDU15,

Thank you for your reply, but it didn't work either.

Michael

"iwdu15" wrote:
or you could try using the Process Class

Dim proc as new Process
Dim procSI as new ProcessStartInf o("C:\WINDOWS\s ystem32\compmgm t.msc /s")

proc.StartInfo = procSI
proc.Start()
that should work too
--
-iwdu15
Jul 8 '06 #5
looking at my post, i think i made a typo....there shouldnt be a "/s" after
the process name...try this instead

Dim proc as new Process
Dim procSI as new ProcessStartInf o("C:\WINDOWS\s ystem32\compmgm t.msc")

proc.StartInfo = procSI
proc.Start()

--
-iwdu15
Jul 9 '06 #6
use: System.Diagnost ics.Process.Sta rt("C:\WINDOWS\ system32\compmg mt.msc")
eSolTec wrote:
Thank you in advance for any and all assistance. I'm building a technician's
tool and I'm trying to create a Jump Panel of buttons to the Windows System32
folder to open files programmaticall y. I have the majority of the program
files opening except the Microsoft Computer Management console.

I've tried in the button click event
Shell("C:\WINDO WS\system32\com pmgmt.msc")

and nothing happens. No open program, no errors nothing.

Michael
Jul 9 '06 #7
Thank you everyone, but especially thank you Theo. What you suggested worked.

Michael

"Theo Verweij" wrote:
use: System.Diagnost ics.Process.Sta rt("C:\WINDOWS\ system32\compmg mt.msc")
eSolTec wrote:
Thank you in advance for any and all assistance. I'm building a technician's
tool and I'm trying to create a Jump Panel of buttons to the Windows System32
folder to open files programmaticall y. I have the majority of the program
files opening except the Microsoft Computer Management console.

I've tried in the button click event
Shell("C:\WINDO WS\system32\com pmgmt.msc")

and nothing happens. No open program, no errors nothing.

Michael
Jul 9 '06 #8
Well it only has one flaw

what if the user does not have a path

C:\WINDOWS\syst em32\compmgmt.m sc

on one of Computers for instance the windows path is

C:\WIN\system32 \compmgmt.msc

And on another one it is

D:\WIN\system32 \compmgmt.msc

you would better use

System.Diagnost ics.Process.Sta rt("compmgmt.ms c")
This will always work ( unless someone messed with the evironment variabels
, however this is not your problem

regards

Michel Posseth [MCP]
"eSolTec, Inc. 501(c)(3)" <eS************ *@discussions.m icrosoft.com>
schreef in bericht
news:43******** *************** ***********@mic rosoft.com...
Thank you everyone, but especially thank you Theo. What you suggested
worked.

Michael

"Theo Verweij" wrote:
>use:
System.Diagnos tics.Process.St art("C:\WINDOWS \system32\compm gmt.msc")
eSolTec wrote:
Thank you in advance for any and all assistance. I'm building a
technician's
tool and I'm trying to create a Jump Panel of buttons to the Windows
System32
folder to open files programmaticall y. I have the majority of the
program
files opening except the Microsoft Computer Management console.

I've tried in the button click event
Shell("C:\WINDO WS\system32\com pmgmt.msc")

and nothing happens. No open program, no errors nothing.

Michael

Jul 9 '06 #9
Or to be completely sure:
System.Diagnost ics.Process.Sta rt(Environ("Sys temRoot"&"\syst em32\compmgmt.m sc")

Which will work as long as windows works, so you don't have the
discussion who's problem it is.
Michel Posseth [MCP] wrote:
Well it only has one flaw

what if the user does not have a path

C:\WINDOWS\syst em32\compmgmt.m sc

on one of Computers for instance the windows path is

C:\WIN\system32 \compmgmt.msc

And on another one it is

D:\WIN\system32 \compmgmt.msc

you would better use

System.Diagnost ics.Process.Sta rt("compmgmt.ms c")
This will always work ( unless someone messed with the evironment variabels
, however this is not your problem

regards

Michel Posseth [MCP]
"eSolTec, Inc. 501(c)(3)" <eS************ *@discussions.m icrosoft.com>
schreef in bericht
news:43******** *************** ***********@mic rosoft.com...
>Thank you everyone, but especially thank you Theo. What you suggested
worked.

Michael

"Theo Verweij" wrote:
>>use:
System.Diagno stics.Process.S tart("C:\WINDOW S\system32\comp mgmt.msc")
eSolTec wrote:
Thank you in advance for any and all assistance. I'm building a
technician 's
tool and I'm trying to create a Jump Panel of buttons to the Windows
System32
folder to open files programmaticall y. I have the majority of the
program
files opening except the Microsoft Computer Management console.

I've tried in the button click event
Shell("C:\WINDO WS\system32\com pmgmt.msc")

and nothing happens. No open program, no errors nothing.

Michael

Jul 10 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
16672
by: deko | last post by:
I'm trying to find a way to set form/control properties programmatically. In a nut shell: 1. Open a database 2. Open a form in design view 3. Do something like this: For Each prp In frm.Properties If prp.Name = rst!PropName Then prp = rst!ChangeTo
2
5727
by: Prakash Wadhwani | last post by:
I have an Access Database called "TEMP" On Opening the "TEMP" Database, I need to use VBA (programmatically): a) to connect to another database called "PMF" b) the PMF database requires a password on opening called "allow" c) to link 5 Tables in the PMF Database ... Table1,2,3,4,5 How do I accomplish the above programmatically using VBA ? Thx & Best Rgds,
14
49952
by: Open Wound | last post by:
What method can I call to programmatically scroll a panel? There is ScrollControlIntoView() but I don't have a control to scroll into view. I just want the panel to scroll up by 100 pixels. Setting AutoScrollPosition doesn't seem to work either. The values I set are not honored, and are apparently modified by the framework. By the way, what I am trying to implement is the behavior seen in Notepad (and other Windows apps) where you...
13
2579
by: Alexandra | last post by:
Hi, I have a hidden system file that I need to read. I am logged in as an administrator. I can not change the file attributes using the windows explorer.
5
6829
by: Carlo Marchesoni | last post by:
From an aspx page (A.aspx) I open another one (B.aspx - for table lookup). When the user selects an entry in B.aspx I would like to force a button's event in A.aspx to be fired. I guess the only way is using javascript - does anybody have a sample for this ? Thanks
4
3093
by: BentleyInc | last post by:
I'm trying to find a way to add a whildcard application mapping to aspnet_isapi.dll in IIS programmatically.... been looking into IIS administrator reference but didn't find the right function to use. The equivalent GUI steps would be, open IIS, select my application->properties, app configuration, in whildcard application mapping type the path to aspnet_isapi.dll. Thanks, Jingmei Li
4
2642
by: PollyAnna | last post by:
Hi, I am fairly new to .Net and would appreciate some help. How do I open an email and its attachment programmatically. Once I have done this, is it a straightforward operation to then just save the attachment to a set location? Many thanks for pointing me in the right direction.
0
1983
by: Paulson | last post by:
Dear Freinds I want to make a program that acts as a reminder for the users.I need to open up the Scheduled task wizard programmatically.If you type Tasks in the run command the Tasks folder(ie. Scheduled Taks folder) is opened,but what I want is to open the Add Scheduled Task wizard in it.Is there any run command to do that? Also if I am able to open the Scheduled Task wizard like this is there any way by which I can...
11
2968
by: =?Utf-8?B?UGV0ZXIgSw==?= | last post by:
I am working with Visual Studio or alternately with Expression Web. I need to create about 50 aspx pages with about 1200 thumbnali images, typically arranged in three to four groups per page, having hyperlinks to the corresponding full size images. Can anybody point me to locations in MSDN or elsewhere giving the references to attach, the commands & objects for creating or opening the pages and possibly available classes? I have done...
0
9621
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8939
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7463
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6717
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5355
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3611
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2852
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.