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);
where COleVariant 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
S
Shutaro
@Shutaro
Posts
-
IWebBrowser2::Navigate2 problems -
Map Event queue not cleared after FireEvent callHi cp-users, I hope this is the correct message board to post this message... I've a problem with Event Queue in my ActiveX Control. I'have generated some method to fire events to javascript. When I call MFC FireEvent (with same eventid) several time, javascript function is not called only one time per call but for the number of foregoing calls + 1. I suppose that I must clear the event queue manually but I don't have found any documentation in MSDN... Thanks for all suggestion Carlo
-
RegSvr32 failedHi William, try to use depend.exe with your dll in order to find the missing dependecy. Cheers Carlo