Search found 711 matches: cfile

Return to advanced search

Re: Question about function file

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 ...
by Eroni
Mon Feb 19, 2024 9:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about function file
Replies: 3
Views: 225

Re: Question about function file

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. :-(
by Enrico Maria Giordano
Thu Feb 15, 2024 9:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about function file
Replies: 3
Views: 225

Re: Problem with FiveWin and PDF995 on Windows 11.

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 ...
by byron.hopp
Tue Feb 13, 2024 10:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with FiveWin and PDF995 on Windows 11.
Replies: 29
Views: 1214

Re: Problem with FiveWin and PDF995 on Windows 11.

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 ...
by byron.hopp
Tue Feb 13, 2024 8:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with FiveWin and PDF995 on Windows 11.
Replies: 29
Views: 1214

Re: erase files

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
by Silvio.Falconi
Fri Jan 26, 2024 11:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: erase files - Resolved!!
Replies: 20
Views: 1542

Re: erase files

... ) , 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" ...
by solving
Fri Jan 26, 2024 10:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: erase files - Resolved!!
Replies: 20
Views: 1542

Re: erase files

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.
by Silvio.Falconi
Thu Jan 25, 2024 6:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: erase files - Resolved!!
Replies: 20
Views: 1542

Re: erase files

... 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
by solving
Thu Jan 25, 2024 6:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: erase files - Resolved!!
Replies: 20
Views: 1542

Re: "Save As" dialog box

Dear Yuri,

cFile := cGetFile32( "Prg Source (.prg) |.prg|", FWString( "Save as" ), 0, cPath, .T., .T. )

thanks to Cristobal
by Antonio Linares
Thu Jan 25, 2024 4:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: "Save As" dialog box
Replies: 14
Views: 1836

Re: erase files

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 ...
by nageswaragunupudi
Wed Jan 24, 2024 2:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: erase files - Resolved!!
Replies: 20
Views: 1542

Re: Grabar imagen en tabla mysql

... 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] * ...
by Marco Augusto
Fri Jan 19, 2024 1:36 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Grabar imagen en tabla mysql
Replies: 5
Views: 398

Re: Generar codigo QR con fivewin.

Saludos
Alberto,
https://github.com/AdaptaProERP/kernel_ ... qrform.prg

DLL32 STATIC FUNCTION QRCode(cStr As STRING, cFile As STRING) AS LONG PASCAL ;
FROM "FastQRCode" LIB "QRCodelib.Dll"
RETURN NIL
by jnavas
Thu Jan 04, 2024 12:27 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generar codigo QR con fivewin.
Replies: 9
Views: 1128

Re: New FTDN October/Octubre 2023 (FWH 23.10)

... 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 ...
by Antonio Linares
Sun Dec 03, 2023 4:46 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octubre 2023 (FWH 23.10)
Replies: 1
Views: 3901

Re: Subuir un fichero a un servidor

... 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 &nbsp; &nbsp; &nbsp;cFile := "X:/PdfS/ZOHO_PRE.Pdf"&nbsp; &nbsp; ...
by leandro
Wed Nov 29, 2023 2:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Subuir un fichero a un servidor
Replies: 18
Views: 2286

Re: Subuir un fichero a un servidor

... 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, ...
by miarcod
Wed Nov 29, 2023 6:28 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Subuir un fichero a un servidor
Replies: 18
Views: 2286
Next

Return to advanced search