Hello,
.Net 2.0
I am creating a windows forms application for deployment on a client's machine.
The program works fine on my local but the output on the client machine is wrong.
Since the problem only occurs on the client's machine I cannot debug it.
Essentially the program reads in data from an excell sheet, does some processing and then outputs to a text file the results.
I convert the strings from the excel file to doubles and
1.23 -> 0.23 10.23 -> 0.23 11.23 -> 1.23 12.23 -> 2.23 149.10 -> 49.10
on the client's machine. Unfortunatly 0.24 stays as 0.24, same with 2.34 etc.
So I can't fix the data after it has been read in.
I am thinking that this problem has something to do with the client's excel settings on their machine.
Using an OleDbConnection with connection string
@"Provider=Micr osoft.Jet.OLEDB .4.0;Data Source={0};Exte nded Properties=Exce l 8.0;"
I select * from my sheet and fill my dataset.
I'm flabberghasted, I have no clue what is going on...
Any ideas?
Thanks,
-Biff
.Net 2.0
I am creating a windows forms application for deployment on a client's machine.
The program works fine on my local but the output on the client machine is wrong.
Since the problem only occurs on the client's machine I cannot debug it.
Essentially the program reads in data from an excell sheet, does some processing and then outputs to a text file the results.
I convert the strings from the excel file to doubles and
1.23 -> 0.23 10.23 -> 0.23 11.23 -> 1.23 12.23 -> 2.23 149.10 -> 49.10
on the client's machine. Unfortunatly 0.24 stays as 0.24, same with 2.34 etc.
So I can't fix the data after it has been read in.
I am thinking that this problem has something to do with the client's excel settings on their machine.
Using an OleDbConnection with connection string
@"Provider=Micr osoft.Jet.OLEDB .4.0;Data Source={0};Exte nded Properties=Exce l 8.0;"
I select * from my sheet and fill my dataset.
I'm flabberghasted, I have no clue what is going on...
Any ideas?
Thanks,
-Biff
Comment