Let me start out by saying I know this is highly not recommended, but for the sake of figuring something out, I'm wanting to launch Notepad via a Webservice...
Dim p As New Process
Dim pi As ProcessStartInfo = New ProcessStartInfo
Dim fullPath As String = "C:\windows\notepad.exe"
pi.FileName = fullPath
pi.CreateNoWindow = False
pi.WindowStyle = ProcessWindowStyle.Maximized
p.StartInfo = pi
p.Start()
This code executes without issue and it does in fact launch Notepad as I can see it running in Task Manager, however there is no window for Notepad displayed. How do I go about making the window visible when I launch it?