Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

axWebBrowser DocumentComplete

Status
Not open for further replies.

SebFr

Programmer
May 28, 2006
12
US
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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top