Search found 56 matches: oledefaultarg

Return to advanced search

Re: OleDefaultArg() : Harbour Replacement?

Antonio,

Can it be done for xHarbour too? If yes, can you explain how?

Many thanks!

EMG
by Enrico Maria Giordano
Mon Jun 17, 2013 9:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OleDefaultArg() : Harbour Replacement?
Replies: 11
Views: 3977

Re: OleDefaultArg() : Harbour Replacement?

Rao, I have been reviewing why xharbour uses this and its a way to set a OLE param as DISP_E_PARAMNOTFOUND type, but IMO xharbour way is complex without need (of couse I know I may be missing situations that I may not taking into account). I think a better aproach is to use allow the use of nil (muc...
by Antonio Linares
Mon Jun 17, 2013 9:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OleDefaultArg() : Harbour Replacement?
Replies: 11
Views: 3977

Re: OleDefaultArg() : Harbour Replacement?

NageswaraRao,

Best option is to ask to the Harbour developers groups. :-)

EMG
by Enrico Maria Giordano
Mon Jun 17, 2013 6:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: OleDefaultArg() : Harbour Replacement?
Replies: 11
Views: 3977

OleDefaultArg() : Harbour Replacement?

... ole and ado libraries comaptible with Harbour. In this process I got stuck up with some issues like finding equivalents in Harbour for function OleDefaultArg() and NULL. In xHarbour, we use OleDefaultArg() where we need to skip arguments in some cases. NIL does not work. I give an example here ...
by nageswaragunupudi
Mon Jun 17, 2013 1:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: OleDefaultArg() : Harbour Replacement?
Replies: 11
Views: 3977

XLS Open Error S_OK

... "]" ) RETURN (.T.) END END // Open XLS... TRY oExcel:WorkBooks:Open( cSource ) // Also tried oExcel:WorkBooks:Open( cSource, OleDefaultArg(), OleDefaultArg(), OleDefaultArg() ) oSheet = oExcel:ActiveSheet CATCH Alert( "Error Reading XLS: " + cSource + " - [" ...
by cdmmaui
Sun Apr 14, 2013 3:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XLS Open Error S_OK
Replies: 2
Views: 548

Re: ShellExecute nao abre excel (RESOLVIDO)

... cArqExcel:="c:\temp\test.xls" oExcel := CreateObject("Excel.Application") oPlani := oExcel:WorkBooks:Open( cArqExcel, OleDefaultArg() , OleDefaultArg() , OleDefaultArg() ) / nao abre e cArqExcel:="c:\temp\test.xls" oExcel := CreateObject("Excel.Application") ...
by Sistem
Tue Mar 12, 2013 7:43 pm
 
Forum: All products support
Topic: ShellExecute nao abre excel
Replies: 2
Views: 1514

Re: How to call VBA methods in FiveWin

No, you have to use positional method. You can use OLEDEFAULTARG() for the empty parameters.

EMG
by Enrico Maria Giordano
Mon Oct 01, 2012 7:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to call VBA methods in FiveWin
Replies: 3
Views: 685

Re: How to add append new Sheet in Excel?

Found an old post of yours Enrico - https://groups.google.com/forum/?fromgr ... %5B1-25%5D

Is OleDefaultArg() available in both Harbour and xHarbour?
by hua
Tue Aug 14, 2012 8:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to add append new Sheet in Excel?
Replies: 7
Views: 926

Re: Abrir hoja Excel con password

Hola Dionicio, Lo que pasa es que uso una versión antigua de xHarbour (1.1.0) y la versión 8.02 de FWH. En la clase TOleauto no existia la función OleDefaultArg() que se debe usar el en OPEN, asi: oExcel:Workbooks:Open( cDirXLS+cArquivoX,OleDefaultArg() ,OleDefaultArg() ,OleDefaultArg() ,"1111" ...
by Kleyber
Sun May 24, 2009 2:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Abrir hoja Excel con password
Replies: 5
Views: 618

Re: Open Excel file with TOleAuto()

Thanks for your good answer Nagesh. As I have xHarbour 1.1.0 and FWH 8.02 it does not have the function OleDefaultArg(). Is there a similar one in my xHarbour version?

Regards,
by Kleyber
Sat May 23, 2009 1:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Open Excel file with TOleAuto() (Solved)
Replies: 10
Views: 2359

Re: Open Excel file with TOleAuto()

... oBook   ADel( aParams, 1, .t. )   for n := 2 to Len( aParams )      if aParams[ n ] == nil         aParams[ n ] := OleDefaultArg()      endif   next   oBook  := HB_ExecFromArray( oExcel:WorkBooks, 'Open', aParams )return oBook  Usage:    oBook := ...
by nageswaragunupudi
Sat May 23, 2009 3:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Open Excel file with TOleAuto() (Solved)
Replies: 10
Views: 2359
Previous

Return to advanced search