FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Pocket PC Abrir internet Explorer con Activex
Posts: 186
Joined: Sat Oct 08, 2005 07:32 AM
Abrir internet Explorer con Activex
Posted: Sat Aug 08, 2009 10:50 AM

Antonio
Estoy intentando ejectuar este c贸digo de FWH con fwppc y genera un GPF.

驴Que puede cambiar con FWPPC?
function Main()

local oWnd, oActiveX

DEFINE WINDOW oWnd TITLE "FiveWin ActiveX Support"

oActiveX = TActiveX():New( oWnd,"Shell.Explorer.1" )

oWnd:oClient = oActiveX // To fill the entire window surface
oActiveX:Do( "GoHome" )

ACTIVATE WINDOW oWnd
return nil

Saludos

Toni Sales
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Abrir internet Explorer con Activex
Posted: Sat Aug 08, 2009 12:23 PM

Toni,

Internet Explorer est谩 bastante "protegido" por Microsoft en Windows Mobile. Ese c贸digo no funciona.

Nosotros hemos conseguido hacerlo funcionar pero s贸lo en Windows CE y usando c贸digo en C++, llamado desde Harbour.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 229
Joined: Wed Oct 12, 2005 05:32 PM
Re: Abrir internet Explorer con Activex
Posted: Sun Aug 09, 2009 05:10 PM

Antonio,

Podr铆amos probar de utilizar un control 'estandarizado' que ya existe desde la versi贸n 2003.

El control es el HTMLControl. Se crea y mediante SendMessage se mandan las instrucciones y a trav茅s de WM_NOTIFY se reciben los resultados.

Ya me dir谩s como lo ves....

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Abrir internet Explorer con Activex
Posted: Mon Aug 10, 2009 11:43 AM

Jose Luis,

Conocemos el HTMLControl pero este solo permite mostrar HTML, es decir, no te permite navegar, ni entiende javascript, etc. No sirve como un navegador web real.

En Windows CE si podemos instanciar un ActiveX del Internet Explorer. Hay que usar C++ y se programa de una forma espec铆fica, no estandard como en el PC. Y no funciona en Windows Mobile (probado), genera GPF.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: Abrir internet Explorer con Activex
Posted: Thu Aug 13, 2009 03:21 PM
I found On Microsoft an help
Perhaps Antonio can translate it for us

If you want your ActiveX to run properly in Pocket Internet Explorer , your control must implement the IObjectSafety interface in your control.

Here's an article showing how to do it in an MFC ActiveX project:

http://msdn.microsoft.com/library/defau ... gnmark.asp
Best Regards, Saludos



Falconi Silvio
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Abrir internet Explorer con Activex
Posted: Mon Aug 17, 2009 10:21 AM

Silvio,

The problem is a different one: IE ActiveX simply GPFs.

We have googled for a long time searching for a solution without any results.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: Abrir internet Explorer con Activex
Posted: Mon Aug 17, 2009 02:31 PM

Antonio,
ut OperaMINi and Skyfire for Mobile How run it ?

Best Regards, Saludos



Falconi Silvio
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Abrir internet Explorer con Activex
Posted: Mon Aug 17, 2009 04:40 PM

Silvio,

Do they provide ActiveX interface ?

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion