i imported shdocvw.dll (Web Browser control) by adding it to the toolbox, i
got ShDocVw.dll and AxSHDocVw.dll files generated, added the control to a
form with a single button on. on the click handler for the button i do
this:
protected void button1_Click (object sender, System.EventArgs e)
{
//string url = "about:blank";
string url = http://www.microsoft.com;
object arg1 = 0; object arg2 = ""; object arg3 = ""; object arg4 = "";
html.Navigate( url, ref arg1, ref arg2, ref arg3, ref arg4);
}
this can not be run from the debugger. when started and when the button is
pressed on, the application freezes, and "break" can not unfreeze it. it
works fine if navigated to "about:blank".
if started without debugging, it navigates to the page just fine.
in project properties, debug mode is set to "project", if i enable unmanaged
debugging, the whole ide crashes after navigate.
did anybody else have similar problems?
thanks
Andreas Häber
"Davorin Mestric" <davorin...@zg.tel.hrXXREMOVEXX> wrote in message
news:uFTTXDvqAHA.1392@tkmsftngp02...
Jonathan
Andreas Häber
.
btw: What language do you use? I'm using C#, just wondering wether it's an
issue only with C# or if it's for all the .NET languages.
Andreas Häber
"Jonathan Pierce" <jpi...@nyc.rr.com> wrote in message
news:287f01c0afca$82923b50$a5e62ecf@tkmsftngxa07...