Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 27th, 2006, 03:06 PM
Registered User
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default axWebBrowser: DocumentComplete

Hi everyone,

I have an issue with axWebBrowser. The method axWebBrowser1_DocumentComplete is never reached and i don't understand why.

Basically, this is what I have:

private void buttonStart_Click(object sender, EventArgs e)
{
      try {
      ...
      axWebBrowser1.Navigate("http...");
      return;
      }
      catch {...}
      finally {}
}

private void axWebBrowser1_DocumentComplete(object sender, AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent e)
{
      ...
      Console.WriteLine("ENTER HERE!");
}

When I launch the application, the page is loaded well, but ENTER HERE never appeared.
I even tried to put DownloadComplete instead of DocumentComplete but it's still not working.
I don't know what I'm doing wrong.

If you have any suggestions, please let me know.
Thanks a lot!





Similar Threads
Thread Thread Starter Forum Replies Last Post
consuming events from axWebBrowser roy VS.NET 2002/2003 3 March 9th, 2007 04:08 AM
problem with AxWebBrowser in Visual Studio 2003 Mystic C# 0 February 20th, 2007 09:38 AM
axWebBrowser NOT registered??? Ron Howerton General .NET 0 June 1st, 2004 08:25 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.