Search found 61 matches: ctempfile

Return to advanced search

Antonio,

Ahora si funciona correctamente. El problema estaba en cTempFile.

Muchas gracias por todo.
by Manuel Valdenebro
Sat Apr 15, 2006 6:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: REPORT
Replies: 12
Views: 3255

... normal. Podríamos ver la forma de que la clase TPrinter también la usase, de forma parametrizable. En cuanto a la velocidad, si has modificado cTempFile() como te hemos indicado, es totalmente correcta. Aqui hemos modificado el ejemplo para crear 100 hojas y las crea muy rápido.
by Antonio Linares
Sat Apr 15, 2006 4:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: REPORT
Replies: 12
Views: 3255

Antonio, estamos en las mismas.

De momento, he puesto en la función cTempFile un msgwait para darle vidilla. Pero sigue tardando demasiado y la ventana del 'building page' sigue 'missing'.
by Manuel Valdenebro
Sat Apr 15, 2006 6:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: REPORT
Replies: 12
Views: 3255

Manuel, En el build de Abril hemos usado la función cTempFile() para asignarle los nombres a los ficheros temporales usados por los metafiles para el preview, pero esta función cTemFile() consume mucho tiempo por su diseño. Hay que cambiarla de esta ...
by Antonio Linares
Fri Apr 14, 2006 11:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: REPORT
Replies: 12
Views: 3255

Much faster cTempFile() function

FWH April users may change this function to get much faster printing previews: function cTempFile( cPath, cExtension ) // returns a temporary filename local cFileName static cOldName DEFAULT cPath := "", cExtension := "" if ! "." ...
by Antonio Linares
Sat Apr 08, 2006 8:38 pm
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Much faster cTempFile() function
Replies: 0
Views: 1569

Dale,

You may use a temporary file to write the bitmap and then assign it to the bitmap object:

local cTempFile := cTempFile( "\", "bmp" )

MemoWrit( cTempFile, field->image )

oImage:LoadImage( , cTempFile )
oImage:Refresh()
by Antonio Linares
Fri Mar 24, 2006 11:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Store Bitmap in Database File?
Replies: 8
Views: 1845

... 0009:64A8 00058H CFILENOEXT CODE 0009:6500 0006EH CFILEEXT CODE 0009:656E 00047H CFILESUBDI CODE 0009:65B6 00088H CNEWFILENA CODE 0009:663E 00051H CTEMPFILE CODE 0009:6690 00041H FSIZE CODE 0009:66D2 0004CH FDATE CODE 0009:671E 00041H FTIME CODE 0009:6760 000EEH AFINDFILE CODE 0009:684E 000CAH ...
by Connan
Fri Mar 03, 2006 10:28 am
 
Forum: FiveWin para CA-Clipper
Topic: GPF, como buscar el Error
Replies: 3
Views: 3529

GPF, como buscar el Error

... 0009:64A8 00058H CFILENOEXT CODE 0009:6500 0006EH CFILEEXT CODE 0009:656E 00047H CFILESUBDI CODE 0009:65B6 00088H CNEWFILENA CODE 0009:663E 00051H CTEMPFILE CODE 0009:6690 00041H FSIZE CODE 0009:66D2 0004CH FDATE CODE 0009:671E 00041H FTIME CODE 0009:6760 000EEH AFINDFILE CODE 0009:684E 000CAH ...
by Connan
Tue Feb 28, 2006 5:36 pm
 
Forum: FiveWin para CA-Clipper
Topic: GPF, como buscar el Error
Replies: 3
Views: 3529

... previsualización de la impresión estaba fallando al mostrar las páginas en pantallas de alta resolución. Ahora está correcta. * Mejora: La función cTempFile() ahora soporta dos parámetros opcionales: function cTempFile( [cPath], [cExtension] ) --> cFileName * Corrección: En el método lEditCol ...
by Antonio Linares
Sat Dec 17, 2005 8:12 am
 
Forum: WhatsNew / Novedades
Topic: New December 2.7 build
Replies: 1
Views: 2699

New December 2.7 build

... please use such flag too. * Fix: Printer Preview was failing to show the pages on high screen resolutions. Now it is ok. * Enhancement: function cTempFile() now supports two optional parameters: function cTempFile( [cPath], [cExtension] ) --> cFileName * fix: Class TCBrowse Method lEditCol, ...
by Antonio Linares
Fri Dec 16, 2005 9:20 am
 
Forum: WhatsNew / Novedades
Topic: New December 2.7 build
Replies: 1
Views: 2699

Rimantas, Please try this cTempFile() source code: [/code] Excuse me , Antonio , the function is working OK :-)) . I forget to set DBFFPT lib , because some fields in SQL database are as "MEMO" and so USE command didn't worked . Today ...
by Rimantas
Tue Nov 22, 2005 2:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDbOdbcDirect problem
Replies: 4
Views: 1535

Rimantas, Please try this cTempFile() source code: function cTempFile( cPath, cExtension ) // returns a temporary filename local cFileName static cOldName DEFAULT cPath := "", cExtension := "" if ! "." ...
by Antonio Linares
Tue Nov 22, 2005 9:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDbOdbcDirect problem
Replies: 4
Views: 1535

Hello James ! Thanks for your reply . But I found that the problem isn't here . It's cTempFile() function : function cTempFile() // returns a temporary filename local cFileName static cOldName while File( ( cFileName := StrTran( Time(), ":", "" ) ) ) .or. ; cFileName ...
by Rimantas
Mon Nov 21, 2005 1:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDbOdbcDirect problem
Replies: 4
Views: 1535

TDbOdbcDirect problem

Hi !

It seems that it's a problem with this class . I reviewed and found that in Open method it can't open temporary dbf . It seems that this is related to this :
DEFAULT ::cFileName := cTempFile(GetEnv("TEMP"),"DBF")

This GetEnv() work OK ?

With best regards ! Rimantas .
by Rimantas
Fri Nov 18, 2005 9:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDbOdbcDirect problem
Replies: 4
Views: 1535

Error de Proteccion General.

... 0008:A758 00064H CFILENOEXT CODE 0008:A7BC 0007AH CFILEEXT CODE 0008:A836 0004DH CFILESUBDI CODE 0008:A884 0009AH CNEWFILENA CODE 0008:A91E 0005DH CTEMPFILE CODE 0008:A97C 0006CH FSIZE CODE 0008:A9E8 00115H AFINDFILE CODE 0008:AAFE 000EEH LOGFILE CODE 0008:ABEC 0013FH GETDISKFRE CODE 0008:AD2C ...
by Garbi
Wed Nov 02, 2005 3:38 pm
 
Forum: FiveWin para CA-Clipper
Topic: Error de Proteccion General.
Replies: 5
Views: 4149
PreviousNext

Return to advanced search