Re: Announcing DrXlsx 1.0 by Charles Kwon
Posted: Sun Nov 19, 2023 1:32 pm
Can I see the source code of DRXLSX32X_BCC.LIB?
www.FiveTechSoft.com
https://fivetechsupport.com/forums/
Code: Select all | Expand
cOld:= hb_cdpSelect("ESWIN") // ESWIN o Portuguese cdp
...
// your code
..
hb_cdpSelect(cOld)
Code: Select all | Expand
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??