ActiveX support is already working
Now we are building some tests and we will publish a new build asap
ActiveX support!
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
-
- Posts: 42
- Joined: Wed Oct 26, 2005 1:20 pm
- Location: Marshall, Virginia, USA
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Bill,
We use the same syntax as in FWH. Quite simple :
We use the same syntax as in FWH. Quite simple :
Code: Select all
#include "FWCE.ch"
function Main()
local oWnd, oActiveX
local cEvents := ""
DEFINE WINDOW oWnd TITLE "FiveWin ActiveX Support"
oActiveX = TActiveX():New( oWnd, "WMPlayer.OCX" )
oWnd:oClient = oActiveX // To fill the entire window surface
oActiveX:SetProp( "url", CurDir() + "\clapping.wav" )
oActiveX:bOnEvent = { | event, aParams, pParams | cEvents += EventInfo( event, aParams, pParams, oActiveX ) }
ACTIVATE WINDOW oWnd ;
VALID ( MsgInfo( cEvents ), .t. )
return nil
function EventInfo( event, aParams, pParams, oActiveX )
local cMsg := "Event: " + cValToChar( event ) + CRLF
local n
cMsg += "Params: " + CRLF
for n = 1 to Len( aParams )
cMsg += cValToChar( aParams[ n ] ) + CRLF
next
return cMsg + CRLF
- cdmmaui
- Posts: 653
- Joined: Fri Oct 28, 2005 9:53 am
- Location: The Woodlands - Dallas - Scottsdale - London
- Contact:
Re: ActiveX support!
Dear Antonio,
I am getting an illegal operation trying to perform the following ActiveX call on Win CE 4. What am I doing wrong?
//--------------------------------------------------------------------
DEFINE WINDOW oWnd2 TITLE Ptitle + " - Transmit"
oActiveX = TActiveX():New( oWnd2, "Shell.Explorer" )
oWnd2:oClient = oActiveX
oActiveX:SetProp( "url", , Pdd + cPost + ".HTM" )
ACTIVATE WINDOW oWnd2
I am getting an illegal operation trying to perform the following ActiveX call on Win CE 4. What am I doing wrong?
//--------------------------------------------------------------------
DEFINE WINDOW oWnd2 TITLE Ptitle + " - Transmit"
oActiveX = TActiveX():New( oWnd2, "Shell.Explorer" )
oWnd2:oClient = oActiveX
oActiveX:SetProp( "url", , Pdd + cPost + ".HTM" )
ACTIVATE WINDOW oWnd2