Hi,
I'm trying to get the Mozilla Active-X 1.7.1 to work under .NET 2003.
I've tried it in a C++ (MFC) and in a C# application but none of them work.
In C++:
void CMFCWebBrowserDlg::OnBnClickedButtonSubmit()
{
// TODO: Add your control notification handler code here
CString strUrl = _T("");
m_edtUrl.GetWindowText(strUrl); // strUrl contains a valid url
m_oMozillaWebBrowser.Navigate(strUrl,NULL,NULL,NULL,NULL); // Doesn't work
}
Some some 40 seconds after the navigate method is called an error message
"The operation timed out when attempting to contact www.google.com" is
displayed.
In C#:
private void button3_Click(object sender, System.EventArgs e)
{
object Zero = 0;
object EmptyString = "";
axMozillaBrowser1.Navigate(textBox1.Text, ref Zero, ref EmptyString, ref
EmptyString, ref EmptyString);
}
The application hangs in the navigate method, CPU-usage goes to 100% and
stays there.
For comparison reasons I've also embedded the MS web browser in both
applications and those do work
using the exact same calls.
Does anybody have any ideas?
Thanks,
Colin B.
_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding