Abrir internet Explorer con Activex

Abrir internet Explorer con Activex

Postby tsales » 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
tsales
 
Posts: 186
Joined: Sat Oct 08, 2005 7:32 am

Re: Abrir internet Explorer con Activex

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 41286
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Abrir internet Explorer con Activex

Postby jlcapel » Sun Aug 09, 2009 5: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....
User avatar
jlcapel
 
Posts: 229
Joined: Wed Oct 12, 2005 5:32 pm
Location: Valencia - España

Re: Abrir internet Explorer con Activex

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 41286
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Abrir internet Explorer con Activex

Postby Silvio » Thu Aug 13, 2009 3: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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Abrir internet Explorer con Activex

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 41286
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Abrir internet Explorer con Activex

Postby Silvio » Mon Aug 17, 2009 2:31 pm

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

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Abrir internet Explorer con Activex

Postby Antonio Linares » Mon Aug 17, 2009 4:40 pm

Silvio,

Do they provide ActiveX interface ?
regards, saludos

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


Return to FiveWin para Pocket PC

Who is online

Users browsing this forum: No registered users and 3 guests