S
Shawn Hogan
I'm trying to open an instance of the default browser and browse to a URL.
I'm seeing an issue with the process class where if i execute my process
using this code
Dim p As Process = New Process
p.StartInfo.Arguments = "www.starwars.com"
p.StartInfo.FileName = "iexplore.exe"
p.Start()
p.CloseMainWindow()
Dim c As Boolean = p.HasExited
i can consume events and access properties of the process class after i
execute start(like closemainwindow). When i use the code below i cannot
reference properties of the process class.
Dim q As New Process
q.Start("www.starwars.com")
p.CloseMainWindow()
Dim b As Boolean = q.HasExited
Anyone have any ideas as to why this is the case. Additionally i'd also like
to know if there is a way to get the exe path of the default browser.
Thanks,
Shawn
I'm seeing an issue with the process class where if i execute my process
using this code
Dim p As Process = New Process
p.StartInfo.Arguments = "www.starwars.com"
p.StartInfo.FileName = "iexplore.exe"
p.Start()
p.CloseMainWindow()
Dim c As Boolean = p.HasExited
i can consume events and access properties of the process class after i
execute start(like closemainwindow). When i use the code below i cannot
reference properties of the process class.
Dim q As New Process
q.Start("www.starwars.com")
p.CloseMainWindow()
Dim b As Boolean = q.HasExited
Anyone have any ideas as to why this is the case. Additionally i'd also like
to know if there is a way to get the exe path of the default browser.
Thanks,
Shawn