Brian,
The enhanced Class TActiveX and related new functions are only available since FWH July 2006 build.
WebBrowser ActiveX control
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
-
- Posts: 20
- Joined: Fri Oct 14, 2005 7:56 am
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Como descobrir o nome do ActiveX ?
// \fwh27\samples\excel.prg
// Using Microsoft Excel ActiveX
#include "FiveWin.ch"
function Main()
local oWnd, oActiveX
DEFINE WINDOW oWnd TITLE "FiveWin ActiveX Support"
// Warning: You may need a different name based on your installed Office version
oActiveX = TActiveX():New( oWnd, "OWC11.Spreadsheet" ) <<--- onde eu pego este nome ? eu tenho o Office XP
oWnd:oClient = oActiveX // To fill the entire window surface
ACTIVATE WINDOW oWnd
return nil
// Using Microsoft Excel ActiveX
#include "FiveWin.ch"
function Main()
local oWnd, oActiveX
DEFINE WINDOW oWnd TITLE "FiveWin ActiveX Support"
// Warning: You may need a different name based on your installed Office version
oActiveX = TActiveX():New( oWnd, "OWC11.Spreadsheet" ) <<--- onde eu pego este nome ? eu tenho o Office XP
oWnd:oClient = oActiveX // To fill the entire window surface
ACTIVATE WINDOW oWnd
return nil
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: