Hello,

I'm opening a process in my project to be set as a child window. Currently a timer is dictating when the process should be set (which is fine), however, because the tick interval is quite high (150ms), the window flashes on the screen before being set as child for a brief moment. Is there any way to open it in a minimized state so that it doesn't flash open outside of the panel before the next timer tick (which then sets it as child)?
Also worth noting, the process starts, but the window only opens 15-25 seconds later (it's set as child when it's IsWindow - this is irrelevant I think for my question).

What I've tried:

Code:
p = New Process
        With p
            .EnableRaisingEvents = True
            .StartInfo.FileName = "C:\myFile.exe"
            .StartInfo.WindowStyle = ProcessWindowStyle.Minimized
        End With
        p.Start()


Thanks in advance.