FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour GTP with ActiveX with Internet Explorer
Posts: 246
Joined: Sat Mar 03, 2007 08:42 PM

GTP with ActiveX with Internet Explorer

Posted: Wed Oct 10, 2007 02:42 PM
Hello,

When I try to use AxtiveX with Internet Explorer I get a GPF. Please try following code:

#include "FiveWin.ch"

PROCEDURE Main()

   LOCAL oWnd, oActiveX

   DEFINE WINDOW oWnd TITLE "FiveWin ActiveX Support"

   oActiveX = TActiveX():New( oWnd, "InternetExplorer.Application" )
   oWnd:oClient = oActiveX
   
   oActiveX:SetProp( "Navigate", "http://www.fivetechsoft.com" )

   ACTIVATE WINDOW oWnd CENTER

RETURN


I compiled it with latest xHarbour from CVS with BCC and/or XCC. I tried on Vista and Windows XP, but on both it GPF's

Can someone please confirm?

Thanks!

Patrick
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

GTP with ActiveX with Internet Explorer

Posted: Wed Oct 10, 2007 05:07 PM

Patrick,

Please review samples\WebExp.prg

it shows the right way to use it

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 246
Joined: Sat Mar 03, 2007 08:42 PM

GTP with ActiveX with Internet Explorer

Posted: Wed Oct 10, 2007 05:17 PM
Antonio Linares wrote:Please review samples\WebExp.prg
it shows the right way to use it


Ok, great. These work OK!

Thank you.

Patrick

Continue the discussion