Results 1 to 3 of 3

Thread: [help code]Minimize a external program

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2017
    Posts
    96

    Exclamation [help code]Minimize a external program

    Hello everybody, I need your help so i would like to minimize a program as soon as it opens . I am beginner and i don't find hins.
    example; the PROGRAM CALLs Mugen.exe here no problem i have the code to open it but i must add a code to minimize it as soon!
    I would like a discret mode.
    thank you in advance for your Help
    Last edited by dday9; Sep 18th, 2017 at 04:43 PM. Reason: Removed the Font Styles

  2. #2
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Location
    South Louisiana
    Posts
    11,754

    Re: [help code]Minimize a external program

    If you launch the executable as a process then you could set the WindowStyle to Minimized before starting the process:
    Code:
    Dim p As ProcessStartInfo = New ProcessStartInfo("Mugen.exe") With {.WindowStyle = ProcessWindowStyle.Minimized}
    Process.Start(p)
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | Code Tags | Sword of Fury - Jameram

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 2017
    Posts
    96

    Re: [help code]Minimize a external program

    THANK YOU for your answer!
    I will try, i will post the result tomorrow!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width