Problem in startinfo
-
I have an application that run a reg.exe program , but when I start the process , cmd appear in the screen for awhile that reg.exe running although I've set the style property of StartInfo to Hidden. Any idea? Thanks Mazy
"One who dives deep gets the pearls,the burning desire for realization brings the goal nearer." - Babuji -
I have an application that run a reg.exe program , but when I start the process , cmd appear in the screen for awhile that reg.exe running although I've set the style property of StartInfo to Hidden. Any idea? Thanks Mazy
"One who dives deep gets the pearls,the burning desire for realization brings the goal nearer." - BabujiUm, why are you even running reg? You can probably do what you need directly... Matt Gerrans
-
Um, why are you even running reg? You can probably do what you need directly... Matt Gerrans
I want to read some remote registry key , I know about
OpenRemoteBaseKey
but I think its easier for me to get all the result with reg.exe. and also as in MSDN forOpenRemoteBaseKey
: In order for a key to be opened remotely, both machines (the service, and client) must be running the remote registry service, and have remote administration enabled. But reg.exe at least do not need the client to have this service started , as I tested. Mazy
"One who dives deep gets the pearls,the burning desire for realization brings the goal nearer." - Babuji -- modified at 6:29 Sunday 18th September, 2005 -
I have an application that run a reg.exe program , but when I start the process , cmd appear in the screen for awhile that reg.exe running although I've set the style property of StartInfo to Hidden. Any idea? Thanks Mazy
"One who dives deep gets the pearls,the burning desire for realization brings the goal nearer." - BabujiI think what your looking for is the
ProcessStartInfo.CreateNoWindow
property. Just set it to false. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome -
I think what your looking for is the
ProcessStartInfo.CreateNoWindow
property. Just set it to false. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome -
I want to read some remote registry key , I know about
OpenRemoteBaseKey
but I think its easier for me to get all the result with reg.exe. and also as in MSDN forOpenRemoteBaseKey
: In order for a key to be opened remotely, both machines (the service, and client) must be running the remote registry service, and have remote administration enabled. But reg.exe at least do not need the client to have this service started , as I tested. Mazy
"One who dives deep gets the pearls,the burning desire for realization brings the goal nearer." - Babuji -- modified at 6:29 Sunday 18th September, 2005Did you try WMI? It is pretty easy to set up interop stuff to use WMI. Matt Gerrans
-
Did you try WMI? It is pretty easy to set up interop stuff to use WMI. Matt Gerrans
Matt Gerrans wrote: Did you try WMI? Yah , But didn't find a way to query registry with WMI locally or remotelly. Do you know a way? Anyway , thanks for your reply. Mazy
"One who dives deep gets the pearls,the burning desire for realization brings the goal nearer." - Babuji -
Yah,thanks ,thats it , but I have to set it to true. :) Mazy
"One who dives deep gets the pearls,the burning desire for realization brings the goal nearer." - BabujiWhoops! Cranial-Rectal inversion on my part! :-D RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome