Mixed Console / GUI Application

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Frank

    Mixed Console / GUI Application

    Hello,

    what steps are necessary to create an application - like shutdown.exe - that
    starts as a console application but displays a GUI when a special parameter
    is passed to it?

    Kind regards,

    Frank


  • I Don't Like Spam

    #2
    Re: Mixed Console / GUI Application

    Frank wrote:[color=blue]
    > Hello,
    >
    > what steps are necessary to create an application - like shutdown.exe - that
    > starts as a console application but displays a GUI when a special parameter
    > is passed to it?
    >
    > Kind regards,
    >
    > Frank
    >
    >[/color]

    It's not a console app to start. you are just launching it from the
    command prompt. You can do that with any exe application.

    Chris

    Comment

    • Frank

      #3
      Re: Mixed Console / GUI Application

      Hello,

      the shutdown.exe GUI is only displayed when you pass the "-i" paramter to it
      (help is available with "-?") and the console window is then still displayed
      in the background. Try!

      - Frank


      Comment

      • Herfried K. Wagner [MVP]

        #4
        Re: Mixed Console / GUI Application

        "Frank" <manserv@newsgr oups.nospam> schrieb:[color=blue]
        > the shutdown.exe GUI is only displayed when you pass the "-i" paramter to
        > it (help is available with "-?") and the console window is then still
        > displayed in the background. Try![/color]

        Create a console application project and add forms to it. This should work.

        --
        M S Herfried K. Wagner
        M V P <URL:http://dotnet.mvps.org/>
        V B <URL:http://classicvb.org/petition/>

        Comment

        • Frank

          #5
          Re: Mixed Console / GUI Application

          Hello Herfried,

          found a solution in:
          Newsgroups: microsoft.publi c.dotnet.langua ges.vb
          Subject: "Windows Application" vs. "Console Application"
          Date: Wed, 14 Aug 2002 09:41:22 -0700
          Message-ID:
          <1f3801c243b1$6 c896050$36ef2ec f@tkmsftngxa12>http://groups.google.de/group/micros...4a2fa38d6f6e10


          Best Regards,

          Frank


          Comment

          Working...