ActiveX IE

ActiveX IE

Postby Natter » Sun Apr 05, 2009 2:49 pm

Hi, all !

oAct = TActiveX():New( oWnd, "Shell.Explorer.2" )

oDk:=oWnd:GetProp("Document")
OLEInvoke(oDk,"Write",buf) // buf - HTML-text variable

This design worked in earlier versions FWH, but in FWH9.3 I got window error ?
Natter
 
Posts: 1215
Joined: Mon May 14, 2007 9:49 am

Re: ActiveX IE

Postby Antonio Linares » Sun Apr 05, 2009 6:08 pm

Try it this way:

Code: Select all  Expand view

oAct = TActiveX():New( oWnd, "Shell.Explorer.2" )

oDk:=oWnd:GetProp("Document")
oDk:Write( buf ) // buf - HTML-text variable
 
regards, saludos

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

Re: ActiveX IE

Postby Natter » Sun Apr 05, 2009 7:35 pm

Thanks, Antonio !
It's work fine
Natter
 
Posts: 1215
Joined: Mon May 14, 2007 9:49 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 89 guests

cron