GTP with ActiveX with Internet Explorer

GTP with ActiveX with Internet Explorer

Postby Patrick Mast » Wed Oct 10, 2007 2:42 pm

Hello,

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

Code: Select all  Expand view  RUN
#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
User avatar
Patrick Mast
 
Posts: 246
Joined: Sat Mar 03, 2007 8:42 pm

Postby Antonio Linares » Wed Oct 10, 2007 5:07 pm

Patrick,

Please review samples\WebExp.prg

it shows the right way to use it
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42103
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Patrick Mast » Wed Oct 10, 2007 5: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
User avatar
Patrick Mast
 
Posts: 246
Joined: Sat Mar 03, 2007 8:42 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 86 guests

cron