C
chance
My c# code:
string path =
Path.Combine(Path.GetDirectoryName(this.GetType().Assembly.Location),
"VirtualEarth.htm");
webBrowser1.Navigate(path);
webBrowser1.Document.InvokeScript("doSomething");
Javascript code:
function doSomething()
{
MsgBox("Hello");
}
Nothing happens. Can someone explain why that might be?
string path =
Path.Combine(Path.GetDirectoryName(this.GetType().Assembly.Location),
"VirtualEarth.htm");
webBrowser1.Navigate(path);
webBrowser1.Document.InvokeScript("doSomething");
Javascript code:
function doSomething()
{
MsgBox("Hello");
}
Nothing happens. Can someone explain why that might be?