starting process

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Just close your eyes and see

    #1

    starting process

    i am trying to run a process through that code
    Process.Start(" myApllication.e xe");
    but the command prompet window opens while starting of the process
    i want to delete this effect
    how ?
    thx all
  • Vadym Stetsyak

    #2
    Re: starting process

    is "myApplication. exe" windows forms app or console one?

    if it is console app afaik you will not be able to remove command prompt

    "Just close your eyes and see"
    <Justcloseyoure yesandsee@discu ssions.microsof t.com> wrote in message
    news:C26AD1BF-4315-4472-B0A3-EF3B1CBAB7F0@mi crosoft.com...[color=blue]
    > i am trying to run a process through that code
    > Process.Start(" myApllication.e xe");
    > but the command prompet window opens while starting of the process
    > i want to delete this effect
    > how ?
    > thx all[/color]


    Comment

    • Just close your eyes and see

      #3
      Re: starting process

      i just want to run the console application in a hiden mode.

      "Vadym Stetsyak" wrote:
      [color=blue]
      > is "myApplication. exe" windows forms app or console one?
      >
      > if it is console app afaik you will not be able to remove command prompt
      >
      > "Just close your eyes and see"
      > <Justcloseyoure yesandsee@discu ssions.microsof t.com> wrote in message
      > news:C26AD1BF-4315-4472-B0A3-EF3B1CBAB7F0@mi crosoft.com...[color=green]
      > > i am trying to run a process through that code
      > > Process.Start(" myApllication.e xe");
      > > but the command prompet window opens while starting of the process
      > > i want to delete this effect
      > > how ?
      > > thx all[/color]
      >
      >
      >[/color]

      Comment

      • Ignacio Machin \( .NET/ C# MVP \)

        #4
        Re: starting process

        hi,

        Set ProcessSTartInf o.WindowSTyle to hidden

        cheers,

        --
        Ignacio Machin,
        ignacio.machin AT dot.state.fl.us
        Florida Department Of Transportation



        "Just close your eyes and see"
        <Justcloseyoure yesandsee@discu ssions.microsof t.com> wrote in message
        news:002779F4-9127-4C92-941D-211A88F2E0D9@mi crosoft.com...[color=blue]
        >i just want to run the console application in a hiden mode.
        >
        > "Vadym Stetsyak" wrote:
        >[color=green]
        >> is "myApplication. exe" windows forms app or console one?
        >>
        >> if it is console app afaik you will not be able to remove command prompt
        >>
        >> "Just close your eyes and see"
        >> <Justcloseyoure yesandsee@discu ssions.microsof t.com> wrote in message
        >> news:C26AD1BF-4315-4472-B0A3-EF3B1CBAB7F0@mi crosoft.com...[color=darkred]
        >> > i am trying to run a process through that code
        >> > Process.Start(" myApllication.e xe");
        >> > but the command prompet window opens while starting of the process
        >> > i want to delete this effect
        >> > how ?
        >> > thx all[/color]
        >>
        >>
        >>[/color][/color]


        Comment

        Working...