IWebBrowser2::Navigate2 problems
COM
1
Posts
1
Posters
0
Views
1
Watching
-
Hello all, I have another problem using navigate2 method of IWebBrowser2 interface. I'm tring to send a javascript function (the string passed is like this:
"javascript:functionname()"
) from an activex control to internet explorer. The first time that I call Navigate2 all goes fine but IE don't release the resource. The others times that I'm tring to call Navigate2 the resource appears busy. I'm calling navigate2 in this way:locHR = locBrowser->Navigate2(&vaURL,&noArg,&vaTarget,&noArg,&noArg);
whereCOleVariant noArg; COleVariant vaURL((LPCTSTR) "javascript:functionname()"); COleVariant vaTarget((LPCTSTR) "_self");
Is this the correct way to post data (through http_get) to IE? Thanks a lot Carlo