Search found 31 matches: ooleauto

Return to advanced search

Re: funciones de FWH y Harbour en un archivo .txt

... CountLeft(<cString>,[<xChar>])->nCount CountRight(<cString>,[<xChar>])->nCount CreateObject(<cProgID>)->oOleAuto Crypt(<cString>,<cPassWord>)->cResult CSetAtMuPa([<lNewMode>])->lOldMode CSetCent([<lNewMode>])->lOldMode ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5719

Re: Apertura lenta de archivo EXCEL oOleAuto()

Saludos, haber si te ayuda, gracias, saludos... :shock:    oExcel := TOleAuto():New( "Excel.Application" )   oExcel:WorkBooks:Add()// ESPECIFICAS EN QUE HOJA QUIERES QUE SE INICIE Y TRABAJE, SE SELECCIONA Y LUEGO ACTIVA*** oExcel:Sheets("...
by joseluisysturiz
Thu Aug 10, 2017 8:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Apertura lenta de archivo EXCEL oOleAuto()
Replies: 1
Views: 611

Apertura lenta de archivo EXCEL oOleAuto()

saludos Estoy usando tOleAuto para abrir archivos de excel y poder leer su informacion, usando oExcel :=TOleAuto():New("Excel.Application") oExcel:WorkBooks:Open(cFilePol) oHoja :=oExcel:Get("ActiveSheet") pero no se cual de estas 3 instrucciones tarda demasiado, una vez abierto ...
by noe aburto
Thu Aug 10, 2017 5:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Apertura lenta de archivo EXCEL oOleAuto()
Replies: 1
Views: 611

Re: How to receive events from objects?

... ...| MsgInfo( 'Test') },{cIID}) && What are the parameters of the codeblock? alert('Done') aadd(::aoDevices,oOle) * aadd(::aoDevices,oOle:oOleAuto) endif return oOle
by Jose Dolar
Tue Jun 17, 2014 2:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to receive events from objects?
Replies: 32
Views: 8963

Re: How to receive events from objects?

... oOle:__hObj, {| a,b,c | MsgInfo( 'Test') }) && What are the parameters of the codeblock? aadd(::aoDevices,oOle) * aadd(::aoDevices,oOle:oOleAuto) endif return oOle
by Jose Dolar
Mon Jun 16, 2014 8:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to receive events from objects?
Replies: 32
Views: 8963

Re: Ole With Events

... (called from Class THActiveX METHOD ReadTypes), that read all the events names that the OLE object uses: ::aEvents = ActXEvents( cTypeLib, ::oOleAuto:__hObj ) Please review FWH\source\classes\activex.prg. Both Classes TActiveX (the first one implemented in FWH) and THActiveX are in that file. ...
by Antonio Linares
Sat Jun 14, 2014 6:03 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ole With Events
Replies: 4
Views: 1158

Re: ayuda con tactivex

... ? 'paso1' if ! Empty( oWnd:hWnd ) ::Create() oWnd:AddControl( Self ) ? 'paso2' ::hActiveX = CreateActiveX( ::hWnd, cProgID, Self ) ? 'paso3' ::oOleAuto = TOleAuto():New( ActXPdisp( ::hActiveX ) ) Saludos!
by GuillermoMtz
Thu Aug 29, 2013 10:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda con tactivex
Replies: 4
Views: 1058

Re: MSVS 2012

Richard, There was an error in the libs that I sent you (I forgot to rename a DATA oOLE into a DATA oOleAuto). Now it is much better, though still have some problems but not related to hb_gcAll() anymore. I can't send you the libs now as I am coding on my laptop and I don't ...
by Antonio Linares
Tue May 21, 2013 7:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSVS 2012
Replies: 77
Views: 15099

Re: MSVS 2012

... emailed you the FWH libs with changes in Class THActiveX. Events are routed now but as numbers, not as strings. Also I have renamed DATA oOle as oOleAuto, so we are compatible with FWH Class TActiveX code. Please run and keep open dbwin: https://fivewin-contributions.googlecode.com/files/dbwin32.zip ...
by Antonio Linares
Tue May 21, 2013 8:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSVS 2012
Replies: 77
Views: 15099

Re: MSVS 2012

Richard,

Please change this line:

::OBJcalendar := TOleAuto():New( ::oCalex:oOleAuto:__hObj )

into:

::OBJcalendar := TOleAuto():New( ::oCalex:oOle:__hObj )
by Antonio Linares
Mon May 20, 2013 3:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSVS 2012
Replies: 77
Views: 15099

Re: MSVS 2012

... TRY ::objcalendar := nil ::oCalexStdDlgs := CreateObject( "Codejock.CalendarDialogs.15.0.2" ) ::OBJcalendar := TOleAuto():New( ::oCalex:oOleAuto:__hObj ) ::oCalexStdDlgs:Calendar := ::OBJcalendar ::oCalexStdDlgs:RemindersWindowShowInTaskBar = .t. ::oCalexStdDlgs:CreateRemindersWindow() ...
by Richard Chidiak
Mon May 20, 2013 3:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSVS 2012
Replies: 77
Views: 15099

Re: MSVS 2012

... We use it as an alternative to TActiveX when TActiveX (somehow) fails. Keep your code for ::OBJcalendar := TOleAuto():New( ::oCalex:oOleAuto:__hObj ) it should work fine too :-)
by Antonio Linares
Mon May 20, 2013 3:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSVS 2012
Replies: 77
Views: 15099

Re: MSVS 2012

... is the difference between Tactivex and THactivex ? i am trying to adapt the other object creation like ::OBJcalendar := TOleAuto():New( ::oCalex:oOleAuto:__hObj ) Richard
by Richard Chidiak
Mon May 20, 2013 3:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSVS 2012
Replies: 77
Views: 15099

Re: MSVS 2012

... ERROR TRY ::oCalexStdDlgs := CreateObject( "Codejock.CalendarDialogs.15.0.2" ) //::oCalexStdDlgs:Calendar := TOleAuto():New( ::oCalex:oOleAuto:__hObj ) ::oCalexStdDlgs:Calendar = ::oCalex ::oCalexStdDlgs:RemindersWindowShowInTaskBar = .t. ::oCalexStdDlgs:CreateRemindersWindow() CATCH ...
by Richard Chidiak
Mon May 20, 2013 12:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSVS 2012
Replies: 77
Views: 15099

Re: MSVS 2012

Antonio

This is how it is defined with xharbour

::oCalexStdDlgs:Calendar( TOleAuto():New( ActXPdisp( ::oCalex:hActiveX ) ) )

it was replaced for harbour with

::oCalexStdDlgs:Calendar = TOleAuto():New( ::oCalex:oOleAuto:__hObj )

all the above suggestions do not work

Richard
by Richard Chidiak
Mon May 20, 2013 10:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSVS 2012
Replies: 77
Views: 15099
Next

Return to advanced search