473,399 Members | 3,919 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,399 software developers and data experts.

Connection paradox Database

4
Hi,
I'm an amateur programmer and I want to start
using C#.

I need to connect to some existing Paradox database tables but I'm not
having any luck with it using C# 2005 . I've searched with google and
on MSDN but still can't get it working.

I set up the connection using the wizards and in Server Explorer I can see
the table, but not the table fields and if i try to refresh a Table, i get the following error with every table :
The object either no longer exists or you do not have the permission to see it.
But, i check it, the tables exists, and i've the rights to read/write.

I connect to the database with ODBC, as i did with DBF tables, but it doesn't work,...
And if i try to make a select request with this code :
Expand|Select|Wrap|Line Numbers
  1. DbCommand cmd;
  2.             cmd = cnx.CreateCommand();
  3.             cmd.CommandType = System.Data.CommandType.Text;
  4.             cmd.CommandText = "SELECT COUNT(*) FROM myTable";
  5.             int nbEnreg = (int)cmd.ExecuteScalar();    //bug
  6.             cnx.Close();
  7.             return nbEnreg;
I get an error telling me he doesn't find "myTable",...
I'm really lost and i don't know what to do,...

Thanks

PS: Sorry for my "not so good" English
Aug 20 '08 #1
4 2576
Curtis Rutland
3,256 Expert 2GB
Are you sure that you are using the right permissions? It sounds like you are doing things correctly, but maybe you don't have administrative privileges?
Aug 20 '08 #2
Hurin
4
I'm sure i've all permissions to connect, read and write data because these permissions are the same i use to connect with my *.DBF tables,...

I've no idea what to do, i'm searching a way to transform my .DB files to .DBF files,...

Any help is welcome, thanks !
Aug 20 '08 #3
Hurin
4
I'm looking at the poosibility that my problem come from the Paradox driver's versions i'm using,...
Aug 20 '08 #4
Hurin
4
Ok, i solved my problem by installing BDE, and it works, thanks
Aug 31 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: TonyMontana | last post by:
Hello, I've the following problem. I've to read out the data of a custom application. I think (I'm not sure) this application is using a Paradox DB to store it's information. I don't know it...
0
by: Ricardo | last post by:
Hi, I´m trying to connect with a paradox database from my windows dot net application(vb.net) and web application(asp.net) using odbc driver. vb.net project works fine, but the asp.net it...
0
by: Steve Barker | last post by:
Hi guys, I've written an application in C# that connects to a Paradox table via ODBC. My code has always worked fine, but now I've moved my application to another machine, it's stopped working!...
4
by: Eugen Walcher | last post by:
Hello all, I've tried posting this same question on other newsgroups with no luck. This group seems to have a lot more activity so I apologize if you have seen it before. I'm trying to...
2
by: Michael Gerbasio | last post by:
Hi, I'm an amateur programmer and I have been using Delphi but want to start using C#. I need to connect to some existing Paradox database tables but I'm not having any luck with it using C#...
8
by: Roger | last post by:
Has anyone done this yet? I know it is easily done in Paradox, but I would like to do it in VB.Net. Can anyone point me in the right direction? Thanks, Rog
0
by: eselk | last post by:
I've got an old DOS Paradox database that I can't get rid of. We have way to many scripts and forms to convert everything at once. Instead we would like to be able to access the Paradox data from...
2
by: pamelafluente | last post by:
I am trying to connect to a PARADOX .db (vs2005). I am using an OLEDB connection. This is the connection string I am using: Provider=Microsoft.Jet.OLEDB.4.0; Data Source="C:\Documents and...
0
by: =?Utf-8?B?dmlzaHJ1dGg=?= | last post by:
how to write data from data set in dotnet to paradox database in c# In this code from Archive Sql Server database, Table named:tmsarcdata I want all the details from tmsarcdata table to move to...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.