LPARAMETERS ppdisp, cancel * use our hidden browser control in order to get the url * note, can't get url from BeforeNavigate2 ppdisp= thisform.xoleweb23) in the second web browser control's NavigateComplete2 event, add this:
LPARAMETERS pdisp, url * send url to first browser control. we compare to avoid recursive calls from popups IF NOT thisform.xoleweb1.LocationUrl == this.locationUrl thisform.xoleweb1.Navigate2(this.locationURL) ENDIF4) in the second web browser control's NewWindow2 event, add this:
LPARAMETERS ppdisp, cancel * avoid popups. this has same effect as cancel. note, cancel=.t. doesn't work ppdisp= thisHope this helps someone.