J
Justin
I have an (VB.NET) application that utilizes a webbrowser control for
displaying certain information to the user. A webbrowser control is
found on two separate forms. On a third form I allow the user to link
to my company's web site through a link label. When the user clicks
the link label, I do something like:
Dim p As Process = New Process
p.StartInfo.FileName = GetDefaultBrowser() 'Gets the default browser
from the registry
p.StartInfo.Arguments = "http://www.mywebpage.com/"
p.Start()
On windows XP machines this code works great. On windows 2000
machines the Internet Explorer fails to launch--and crashes with an
error: "The application failed to initialize properly
(0xc000007b)....."
If my default browser is something else, the code also launches the
appropriate browser correctly. Without the webbrowser control in the
application the code works properly. Both instances of the webbrowser
control have the "Register as Browser" properties set to false--and
the error occurs even when the forms are never instantiated.
Thanks,
Justin
displaying certain information to the user. A webbrowser control is
found on two separate forms. On a third form I allow the user to link
to my company's web site through a link label. When the user clicks
the link label, I do something like:
Dim p As Process = New Process
p.StartInfo.FileName = GetDefaultBrowser() 'Gets the default browser
from the registry
p.StartInfo.Arguments = "http://www.mywebpage.com/"
p.Start()
On windows XP machines this code works great. On windows 2000
machines the Internet Explorer fails to launch--and crashes with an
error: "The application failed to initialize properly
(0xc000007b)....."
If my default browser is something else, the code also launches the
appropriate browser correctly. Without the webbrowser control in the
application the code works properly. Both instances of the webbrowser
control have the "Register as Browser" properties set to false--and
the error occurs even when the forms are never instantiated.
Thanks,
Justin