Re: [Lazarus] problem with a dbf file

2012-03-10 Thread Reinier Olislagers
On 10-3-2012 8:43, Richard Mace wrote:
 
 2012/3/9 Ing. Héctor F. Fiandor Rosario hfian...@infomed.sld.cu
 mailto:hfian...@infomed.sld.cu

 first, i have tried to execute de application. The application work,
 but not read the .dbf file with some data. It work like the first
 time, without history, as empty table.
 
 
 So, are you saying that this works on your development machine, but not
 on the users machine?
  
 
  
 Then, I have closed the application, and open the Windows explores,
 in the folder with the .dbf file.
  
 I have observed that it appears, exists, with some kb, not empty.
  
 The icom that appears looks to be an Excel file icom.
 
 
 I think this is a red herring and not important, as this is only
 relevant if you are wanting to double click on the file, although, I
 might not be correct in saying that.
I agree with Richard: the file association determines what happens when
you double click the item in Windows explorer - it should have nothing
to do with how your program works.

I'd try and get the dbf from the user's computer if possible and analyze
that. If that is not possible, I'd add logging output to your program
(e.g. in a debug build mode) and ask the client to send you the log.
I'm sure others will have additional ideas...

Just for your information: note that there are some bugs open for the
.dbf code and the dbf code is currently unmaintained. You might want to
consider alternatives such as sqlite or Firebird embedded.

Regards,
Reinier

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] problem with a dbf file

2012-03-09 Thread Ing . Héctor F . Fiandor Rosario
i have finished an application that use the TDbf and, as expected, generates 
.dbf files.


I have tried the application in other PC, and dont read the .dbf file.

I have observed that in this PC, the .dbf is shown as an Excel file, maybe 
due to the Panel Control Options (I dont want to investigate too much).


Can anybody help me with the routine to change (or at less assure) the Panel 
Control Options for files, as we do the the decimal separator?


thanks in advance,

Ing. Héctor F. Fiandor Rosario
hfian...@infomed.sld.cu 



--

Este mensaje le ha llegado mediante el servicio de correo electronico que 
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema 
Nacional de Salud. La persona que envia este correo asume el compromiso de usar 
el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] problem with a dbf file

2012-03-09 Thread Richard Mace
Are you saying that you need to be able to open the .dbf file by double
clicking on it and instead of your application opening it, it is opening in
Excel?

Richard
On 9 Mar 2012 11:57, Ing. Héctor F. Fiandor Rosario 
hfian...@infomed.sld.cu wrote:

 i have finished an application that use the TDbf and, as expected,
 generates .dbf files.

 I have tried the application in other PC, and dont read the .dbf file.

 I have observed that in this PC, the .dbf is shown as an Excel file, maybe
 due to the Panel Control Options (I dont want to investigate too much).

 Can anybody help me with the routine to change (or at less assure) the
 Panel Control Options for files, as we do the the decimal separator?

 thanks in advance,

 Ing. Héctor F. Fiandor Rosario
 hfian...@infomed.sld.cu

 --

 Este mensaje le ha llegado mediante el servicio de correo electronico que
 ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema
 Nacional de Salud. La persona que envia este correo asume el compromiso de
 usar el servicio a tales fines y cumplir con las regulaciones establecidas

 Infomed: http://www.sld.cu/

 --
 __**_
 Lazarus mailing list
 Lazarus@lists.lazarus.**freepascal.orgLazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarushttp://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] problem with a dbf file

2012-03-09 Thread Ing . Héctor F . Fiandor Rosario
Dear Mr. Richard:

no, i dont said it.

first, i have tried to execute de application. The application work, but not 
read the .dbf file with some data. It work like the first time, without 
history, as empty table.

Then, I have closed the application, and open the Windows explores, in the 
folder with the .dbf file.

I have observed that it appears, exists, with some kb, not empty.

The icom that appears looks to be an Excel file icom.

this PC is not my PC and I dont have permission to go too far.

I close the explorer, and finish my session there.

thanks for your time,

Ing. Héctor F. Fiandor Rosario
hfian...@infomed.sld.cu



--

Este mensaje le ha llegado mediante el servicio de correo electronico 
que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistem
a Nacional de Salud. La persona que envia este correo asume el compromiso de
 usar el servicio a tales fines y cumplir con las regulaciones establecidas


Infomed: http://www.sld.cu/


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] problem with a dbf file

2012-03-09 Thread Richard Mace
2012/3/9 Ing. Héctor F. Fiandor Rosario hfian...@infomed.sld.cu

 **
 Dear Mr. Richard:

 no, i dont said it.


Sorry for misunderstanding.



 first, i have tried to execute de application. The application work, but
 not read the .dbf file with some data. It work like the first time, without
 history, as empty table.


So, are you saying that this works on your development machine, but not on
the users machine?



 Then, I have closed the application, and open the Windows explores, in the
 folder with the .dbf file.

 I have observed that it appears, exists, with some kb, not empty.

 The icom that appears looks to be an Excel file icom.


I think this is a red herring and not important, as this is only relevant
if you are wanting to double click on the file, although, I might not be
correct in saying that.



 this PC is not my PC and I dont have permission to go too far.

 I close the explorer, and finish my session there.

 thanks for your time,

 Ing. Héctor F. Fiandor Rosario
 hfian...@infomed.sld.cu



 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus