Antonio Linares wrote:oOleAutoObject := nil
Antonio Linares wrote:Do it in your PRG where you no longer need your used OleAuto object
DEFINE WINDOW oWnd TITLE cTitle
oActiveX = TActiveX():New( oWnd, "Shell.Explorer" )
oWnd:oClient := oActiveX // To fill the entire window surface
oActiveX:Do( "Navigate2",cUrl,,,cPostData,cType)
ACTIVATE WINDOW oWnd MAXIMIZED VALID (oActiveX:End() , .t.)
// 02.09.09 oActiveX := nil // Doesn't cure the problem
// 02.09.09 oActiveX:End() // Cures the problem, but makes the browser disappear
METHOD Destroy() INLINE ActXEnd( ::hActiveX ), ::oOleAuto := nil, Super:Destroy()
Antonio Linares wrote:Call it from the VALID clause of the window. (WM_CLOSE)
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 71 guests