Search found 1515 matches: ole

Return to advanced search

Re: Manual for OLE-instructions

What do you mean? Each OLE server has its own instruction (properties and methods).
by Enrico Maria Giordano
Thu Nov 10, 2022 1:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Manual for OLE-instructions
Replies: 9
Views: 1069

Manual for OLE-instructions

Hello,

Where can I find a manual for OLE-instructions that can be used in FWH?

Thanks in advance for any help.
by driessen
Thu Nov 10, 2022 1:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Manual for OLE-instructions
Replies: 9
Views: 1069

Question about OLE and Word

Hello, I open some Word-documents this way : wOle  := TOleAuto():New("Word.Application")wDoc1 := Wole:Documents:Open("document1.docx")wDoc2 := Wole:Documents:Open("document2.docx") This just works fine. Both documents are opened in one Wo...
by driessen
Thu Nov 10, 2022 8:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about OLE and Word
Replies: 0
Views: 281

Re: PROBLEMA CON FORMATO DE FECHA MYSQL ADO

... at all with this code oRs:Fields( xx ):Value// orValType( oRs:Fields( xx ):Value ) This code is entirely executed by the OLE functions of (x)Harbour. So, the results will be the same, whichever version of FWH you use. We can confirm this by executing this sample program ...
by nageswaragunupudi
Sat Nov 05, 2022 2:40 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: PROBLEMA CON FORMATO DE FECHA MYSQL ADO
Replies: 11
Views: 902

Re: Algun comentario sobre Libreria LibXL para crear EXCELs

... Entiendo la existencia de clases que inclusive Yo también uso actualmente y por muchos años, por ejemplo la Clase de TXls, o quizás métodos OLE como oExcel:= TOleAuto():New("Excel.Application") , pero siempre encuentro limitaciones con lo que requiero como por ejemplo Necesito ...
by lubin
Thu Oct 27, 2022 7:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Algun comentario sobre Libreria LibXL para crear EXCELs
Replies: 10
Views: 1093

Re: OLE with Excel.

hi, i´m not sure how under FiveWin but it is recommend to o:Destroy() -> o:End() an ActiveX "Connection" and NIL it o:Quit() is like close Firefox but still have Internet "Connection" No, it is not. Quit() method is enough to ensure your instance of Excel is completely remove...
by Enrico Maria Giordano
Wed Oct 19, 2022 7:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: OLE with Excel.
Replies: 10
Views: 446

Re: How to obtain plain text from a RTF control?

... exist METHOD SaveAsHtml( cFile ) CLASS TRichEdit5 that is possible, make it easy to get the text There is also the possibility of using Word ( OLE ) which has the function "SAVE AS TEXT WITHOUT FORMAT"
by cnavarro
Wed Oct 19, 2022 6:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to obtain plain text from a RTF control?
Replies: 8
Views: 451

Re: OLE with Excel.

I find many problems with using OLE with Excel. I believe it is because Excel is running in the background when I attempt to launch a new instance. I attempted to use IsExeRunning("Excel",".",.f.) including many versions ...
by nageswaragunupudi
Tue Oct 18, 2022 11:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OLE with Excel.
Replies: 10
Views: 446

Re: OLE with Excel.

hi,

i´m not sure how under FiveWin but it is recommend to o:Destroy() -> o:End() an ActiveX "Connection" and NIL it

o:Quit() is like close Firefox but still have Internet "Connection"
by Jimmy
Tue Oct 18, 2022 10:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OLE with Excel.
Replies: 10
Views: 446

Re: OLE with Excel.

oExcel:Quit() is enough.
by Enrico Maria Giordano
Tue Oct 18, 2022 9:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OLE with Excel.
Replies: 10
Views: 446

Re: OLE with Excel.

hi Byron, I believe it is because Excel is running in the background when I attempt to launch a new instance. how do you "close" OLE Connection to Excel ?   // Start Excel   oExcel := CreateObject( "Excel.Application" )   ...   // Quit Excel   oExcel:Quit()  ...
by Jimmy
Tue Oct 18, 2022 9:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OLE with Excel.
Replies: 10
Views: 446

Re: OLE with Excel.

Works Great, Thank you,
by byron.hopp
Tue Oct 18, 2022 9:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OLE with Excel.
Replies: 10
Views: 446

Re: OLE with Excel.

Thank you, I will give this a shot.
by byron.hopp
Tue Oct 18, 2022 9:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OLE with Excel.
Replies: 10
Views: 446

Re: OLE with Excel.

This is a working sample: #include "Fivewin.ch"FUNCTION MAIN()    ? EXELRUNNING()    ? EXELRUNNING()    RETURN NILSTATIC FUNCTION EXELRUNNING()    LOCAL lRun := .F.    TRY        GETACTIVE...
by Enrico Maria Giordano
Tue Oct 18, 2022 9:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OLE with Excel.
Replies: 10
Views: 446

Re: OLE with Excel.

Just pop this into any app that has a menu so you can call it multiple times without terminating the app. Function McsExcelRunning() If IsExeRunning( "excel",".",.F. ) MsgStop( "Excel is currently running...","IsExeRunning" ) Else MsgInfo( "Excel is not r...
by byron.hopp
Tue Oct 18, 2022 7:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OLE with Excel.
Replies: 10
Views: 446
PreviousNext

Return to advanced search