Search results

  1. P

    Process.Start giving MainWindowHandle 0

    When I do Process.Start for anything I run into issues. If I just run the code the MainWindowHandle is 0, but if I step through the code it comes back with a valid handle. Any ideas?
  2. P

    SetParent acting funny

    I have this small chunk of code in an MDI form. When I press a menu item it does this: Me.SuspendLayout() Dim runProcess As New System.Diagnostics.Process Dim info As New System.Diagnostics.ProcessStartInfo info.FileName = "NotePad.exe" info.WindowStyle...
Top Bottom