FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Announcing DrXlsx 1.0 by Charles Kwon
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Announcing DrXlsx 1.0 by Charles Kwon
Posted: Sun Nov 19, 2023 01:32 PM

Can I see the source code of DRXLSX32X_BCC.LIB?

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Announcing DrXlsx 1.0 by Charles Kwon
Posted: Sun Nov 19, 2023 03:45 PM

Source code for DrXlsx libraries is not made available.

Regards



G. N. Rao.

Hyderabad, India
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Announcing DrXlsx 1.0 by Charles Kwon
Posted: Sun Nov 19, 2023 05:52 PM

So, how can I find the cause of the error? Only the author of that lib can do it.

Posts: 318
Joined: Fri Jan 14, 2022 08:37 AM
Re: Announcing DrXlsx 1.0 by Charles Kwon
Posted: Thu Aug 08, 2024 12:48 PM
Hi,

Please, try so:
Code (fw): Select all Collapse
cOld:= hb_cdpSelect("ESWIN")    // ESWIN o Portuguese cdp
...
// your code
..
hb_cdpSelect(cOld)
Regards
Posts: 114
Joined: Fri Jul 21, 2006 07:15 PM
Re: Announcing DrXlsx 1.0 by Charles Kwon
Posted: Thu Aug 08, 2024 12:50 PM
Hi everybody.

I am having a problem using DrXlsx library, when the name of folder contains accent, file is not created, as folow sample:
Code (fw): Select all Collapse
cFileXls := "d:\backups\onedrive\Area de trabalho\test.xlsx" //name of folder contais accent in "A", but i could'nt post here because page crashes when click submit.
oXlsx := TDrXlsx():New()
IF oXlsx:CreateFile( cFileXls ) <> 0 // here that is ok, it returns 0
    ? "Não foi possível criar o arquivo, pode ser que esteja aberto em outro programa!" 
    RETURN( .F. )
ENDIF

oXlsx:WriteString(0,0,"Testing)

 oXlsx:Close()

? File( cFileXls ) // .F. - The file was not created??
If I rename the folder, removing accent, works fine.

Anyone having same problem?

Thanks in advance.
FWH / xHarbour / BCC / MySql

Visual Studio / Harbour / DotNet Maui / C#

Continue the discussion