If I define window for ActiveX, work fine.
- Code: Select all Expand view RUN
DEFINE WINDOW oWnd TITLE "FiveWin ActiveX Support"
oActiveX = TActiveX():New( oWnd, "oa.oactrl.1" )
oWnd:oClient = oActiveX
oActiveX:Do( "ShowToolBars", .t. )
oActiveX:Do( "Open", "c:\計算.xls" )
ACTIVATE WINDOW ownd on init oActiveX:Do( "Open", "c:\計算.xls" )
If I define Dialog for ActiveX, work. but disappear any action.
- Code: Select all Expand view RUN
DEFINE DIALOG oDlg RESOURCE "D_DR_WIN_TestActiveX"
REDEFINE ACTIVEX oActiveX ID 10000 OF oDlg ; PROGID "oa.oactrl.1"
ACTIVATE DIALOG oDlg CENTER on init init oActiveX:Do( "Open", "c:\計算.xls" )
I use xHarbour 0.99.4+FWH2.6+BCC55
Regards,
Richard