473,378 Members | 1,609 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

polish character.dbf VFP6.0 -CSharp VS2003

File ".dbf" with codepage mazovia (620) from VFP6.0. In field nazw_mat
value:±æê³ñ󶿼¡ÆÊ£ÑÓ¦¯¬1 .

Program C# VS2003

Read first and ±æê³ñ󶿼¡ÆÊ£ÑÓ¦¯¬1 - ok.

read secend and acelnószzACELNÓSZZ1 - not ok.

I'm sure, that secend open bloking acces to file codepage .dbf and copy to
another file and this same .

???.

thx for reply.

Krzysiek

Program:

string strConn =@"User ID=;DSN=;Cache Authentication=False;Data
Source=e:\firmy\freg0603 ;Password=;Provider='VFPOLEDB.1';Collating
Sequence=MACHINE;Mask Password=False;Mode=Share Deny None;Extended
Properties=;Encrypt Password=False";
OleDbDataReader myReader1=null;

OleDbConnection myConnection = new OleDbConnection(strConn);

OleDbCommand myCommand=new OleDbCommand();

myCommand.CommandText=@"select * from e:\firmy\freg0603"+@"\M1\kslow_ha.dbf
where ind_typ='000000'";

myConnection.Open();

myCommand.Connection=myConnection;

myReader1=myCommand.ExecuteReader();

myReader1.Read();

string pupa1;

pupa1=myReader1["NAZW_MAT"].ToString();

myReader1.Close();

myConnection.Close();

myCommand.Dispose();

//wynik: ±æê³ñ󶿼¡ÆÊ£ÑÓ¦¯¬1
i tu wszystko ok.



string strConn1 =@"User ID=;DSN=;Cache Authentication=False;Data
Source=e:\firmy\freg0603 ;Password=;Provider='VFPOLEDB.1';Collating
Sequence=MACHINE;Mask Password=False;Mode=Share Deny None;Extended
Properties=;Encrypt Password=False";
OleDbDataReader myRe= null;

OleDbConnection myCon = new OleDbConnection(strConn1);

OleDbCommand myCom=new OleDbCommand();

myCom.CommandText=@"select * from e:\firmy\freg0603"+@"\M1\kslow_ha.dbf
where ind_typ='000000'";

myCon.Open();

myCom.Connection=myCon;

myRe=myCom.ExecuteReader();

myRe.Read();

string pupa2;

pupa2=myRe["NAZW_MAT"].ToString();

//wynik:acelnószzACELNÓSZZ1

a tu uci±³ polskie znaki

Krzysiek.
Apr 28 '06 #1
2 2485
vfpoledb9

and no problem.

Krzysiek
Apr 28 '06 #2
Hi Krzysiek,

I'm not sure what you mean below, but the latest FoxPro and Visual FoxPro
OLE DB data provider, downloadable from
msdn.microsoft.com/vfoxpro/downloads/updates works for all versions of
FoxPro tables and has been significantly improved over earlier OLE DB data
providers.

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
ci**************@msn.com www.cindywinegarden.com
"krzysiek" <us*************@com.pl> wrote in message
news:e2**********@atlantis.news.tpi.pl...
vfpoledb9

and no problem.

Krzysiek

Apr 28 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Philip Kofoed | last post by:
Greetings, I have a SQL server 2000 running on an english win2000 workstation. In a database I have a table where one varchar column is set to polish collation. Regional settings for the system...
0
by: DWillems | last post by:
Hello, I have developped a C# XML Web Service. Methods of this Web Service will be accessed by a SAP Business Connector via XML. This all architecture will have to run for several countries...
2
by: Marcin Floryan | last post by:
Hello! How can I create an Installer entirely in Polish language using Deployment Project in VB.NET (I have already translated the available texts into Polish). I have .NET 2003 EN and I read I...
0
by: news.onet.pl | last post by:
How can I generate pdf with polish letters on linux ?? Now it generates double question marks instead of polish letters... Regards, Wojtas
0
by: Larry Neylon | last post by:
Hi there, I'm currently trying to implement a website that will store and retrieve Polish, so I need to be able to handle Polish characters using classic ASP with MySql5. Does anybody have an...
2
by: AmigoFd | last post by:
Hello, This problem is really driving me crazy ... * I have a mySql database which is latin1_swedish_ci * In my web.config I have: <globalization requestEncoding="ISO-8859-2"...
4
by: robert.szczepanski | last post by:
Hi everybody; I can't change polish sign to small letter. This is my php script: <?php setlocale(LC_ALL, "pl_PL.UTF-8") ; //this function return "pl_PL.UTF-8"
8
by: Werner Partner | last post by:
I would like to write correct poloish letters, e.g. in the following page: http://www.kairos-team.de/?lang=pl There are such letters as Å‚, Å„, Ä™, and so on. I found these letter sin polish...
0
by: Piotrekk | last post by:
Hi I have a problem connected with DirectoryInfo class. My paths contain polish characters not present in english alphabet. Problem is that DirectoryInfo class displays them in a very bad way. I...
9
by: Peter Bengtsson | last post by:
In UTF8, \u0141 is a capital L with a little dash through it as can be seen in this image: http://static.peterbe.com/lukasz.png I tried this: '' I was hoping it would convert it it 'L'...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.