I confirm this difference: xHarbour: ? File( cFile ) // Results .T. This is the right one Harbour: ? File( cFile ) // Results .F. I have no clue about the cause, sorry. :-( Thank you Enrico. https://forums.fivetechsupport.com/viewtopic.php?f=3&t=43844&p=264863&hilit=longname&sid=714d291ed0a2c9290d53183020f6ae6c&sid=714d291ed0a2c9290d53183020f6ae6c#p264863 ...
I have been testing with the following code: Function TestHaru() Local oPrn := nil Local oFont := nil Local cFile := Mcs_AppPath() + "TestPdf" + nAllTrim( Seconds()) + ".Pdf" Print oPrn File cFile Define Font oFont Name "Arial" Size 0,-14 of oPrn ...
I have tried a couple of ways, one: Print oPrn Name cReport File cFile to cPrinter oPrn:lUseHaruPDF := .t. Creates a perfectly great PDF, but during the process it pops up the preview screen and immediately takes it down. Can I eliminate the popup of the ...
ecco dov'era l'errore il parametro D static Function Cancella_Archivi(cDir) local adir := DIRECTORY(cDir+ "*.*" ) local i,cFile FOR i = 1 to LEN( aDir ) cFILE := ALLTRIM( aDIR[i][1] ) IF FErase(cDir+cFile ) != 0 Msginfo( FERROR() ,cfile) endif NEXT return nil
... ) , non verranno inglobati "." e ".." se usi il parametro "D" allora devi controllare il contenuto dell'array IF cFile <> "." .OR. cFile <> ".." IF FErase(cDir+cFile ) != 0 ? FERROR() ENDIF ENDIF consiglio 1 : senza parametro "D" ...
Ho messo un trace msginfo(ferror,cfile) Tutti e due i messaggi viene visualizzato l'errore 5 , il primo mi dà "." e il secondo ".." è sta cosa che non ho capito.
... Elimina File che Iniziano con CLI_...PDF AEVAL(DIRECTORY(xPath + "CLI_*.PDF"),{|aFile|FERASE(xPath + aFile[F_NAME])} ) nel tuo comando : cFILE := ALLTRIM( aDIR[i][1] ) fai un display della variabile cFILE se comprende il path completo + \ , es. c:\mydir\temp2.cdx o vedi solo temp2.cdx
The command ERASE <cfile> is preprocessed as FERASE( <cfile> ). This command or function should work (and it works for me) if the file exists and is not in use and can be deleted. If the ERASE command does not really erase ...
... Networking en el apartado Data / Memory Size le cambias a Max Packed size (yo le puse 16M) Para subir un archivo cualquiera FUNCTION GUARDADIR(cFILE,cTIPO) APROG :=DIRECTORY(cFILE) PUBLIC PROGNOM:=APROG[1,1] PUBLIC PROGTAM:=APROG[1,2] PUBLIC PROGFEC:=APROG[1,3] PUBLIC PROGHRS:=APROG[1,4] * ...
... de tiempo de ejecución cuando se llama a SetRDD() (desde la versión 2307) antes de crear cualquier columna. Solucionado. - Nuevo método: ToXlsx( cFileXlsx, aCols ) Algunos cambios hechos en la versión 2307 en SetRDD() no son compatibles con el estilo anterior de creación de xbrowse y provocaban ...
... a curl los datos del fichero que quiero enviar Estoy usando este código pero no funciona, ya he probado todo lo que se me ocurre para indicarle el cFile , además no está definido HB_CURLOPT_RETURNTRANSFER cFile := "X:/PdfS/ZOHO_PRE.Pdf" ...
... a curl los datos del fichero que quiero enviar Estoy usando este código pero no funciona, ya he probado todo lo que se me ocurre para indicarle el cFile , además no está definido HB_CURLOPT_RETURNTRANSFER cFile := "X:/PdfS/ZOHO_PRE.Pdf" curl_easy_setopt( hcUrl, HB_CURLOPT_URL, ...