G
Gene Chang
I have an application that starts the default browser by using
Process.Start(URL). The one time that I get a file not found
exception is when Firefox has crashed and comes up with the "Firefox -
Restore Previous Session" screen.
It does seem to start up but for some reason an exception is thrown
because the browser hasn't started.
Does anyone know why I get the exception in this case? I don't want
to just eat the exception because the thing I start isn't necessarily
a URL. It could be any format that may not have a default
application. In that case, I want to notify the user that there isn't
anything to handle it.
Thanks.
Gene Chang
Process.Start(URL). The one time that I get a file not found
exception is when Firefox has crashed and comes up with the "Firefox -
Restore Previous Session" screen.
It does seem to start up but for some reason an exception is thrown
because the browser hasn't started.
Does anyone know why I get the exception in this case? I don't want
to just eat the exception because the thing I start isn't necessarily
a URL. It could be any format that may not have a default
application. In that case, I want to notify the user that there isn't
anything to handle it.
Thanks.
Gene Chang