Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2006

Tip: Looking for answers? Try searching our database.

ieexplorer process.start() error status

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jrbareta - 08 Mar 2006 15:56 GMT
  I am using VS2003 and my windows program may try to goto a URL site. I do
this by starting a browser process thread   p.start(). If the web page
cannot be found or a connection to the internet is not present, the browser
shows an error message in its display. I have not been able to figure out
how to get the brower's error code, so the calling windows program can do
additional processing.
  Can this be done? I am really open to suggestions on how to do this.
Jeroen-bart Engelen - 08 Mar 2006 22:06 GMT
> I am using VS2003 and my windows program may try to goto a URL site. I do
> this by starting a browser process thread   p.start(). If the web page
[quoted text clipped - 3 lines]
> additional processing.
>    Can this be done? I am really open to suggestions on how to do this.

How do you open the browser? Do you just call Process.Start("url")? I
would personally include the mshtml COM object and use interop to use
the InternetExplorer COM object. This starts a stand-alone browser for
you, of which you have complete control. You can subscribe to all kinds
of events such as the NavigateError event.
The only thing against it is that it may require a bit more effort than
using a standard .NET class. Have a look at
http://msdn.microsoft.com/workshop/browser/webbrowser/reference/objects/internet
explorer.asp

for more info.

Jeroen-bart Engelen

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.