Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Problem in startinfo

Problem in startinfo

Scheduled Pinned Locked Moved C#
helpquestion
8 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mazdak
    wrote on last edited by
    #1

    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

    M D 2 Replies Last reply
    0
    • M Mazdak

      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

      M Offline
      M Offline
      Matt Gerrans
      wrote on last edited by
      #2

      Um, why are you even running reg? You can probably do what you need directly... Matt Gerrans

      M 1 Reply Last reply
      0
      • M Matt Gerrans

        Um, why are you even running reg? You can probably do what you need directly... Matt Gerrans

        M Offline
        M Offline
        Mazdak
        wrote on last edited by
        #3

        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 for OpenRemoteBaseKey: 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

        M 1 Reply Last reply
        0
        • M Mazdak

          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

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          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

          M 1 Reply Last reply
          0
          • D Dave Kreskowiak

            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

            M Offline
            M Offline
            Mazdak
            wrote on last edited by
            #5

            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." - Babuji

            D 1 Reply Last reply
            0
            • M Mazdak

              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 for OpenRemoteBaseKey: 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

              M Offline
              M Offline
              Matt Gerrans
              wrote on last edited by
              #6

              Did you try WMI? It is pretty easy to set up interop stuff to use WMI. Matt Gerrans

              M 1 Reply Last reply
              0
              • M Matt Gerrans

                Did you try WMI? It is pretty easy to set up interop stuff to use WMI. Matt Gerrans

                M Offline
                M Offline
                Mazdak
                wrote on last edited by
                #7

                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

                1 Reply Last reply
                0
                • M Mazdak

                  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." - Babuji

                  D Offline
                  D Offline
                  Dave Kreskowiak
                  wrote on last edited by
                  #8

                  Whoops! Cranial-Rectal inversion on my part! :-D RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups