473,748 Members | 2,502 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Paradox Database Connection

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# 2005 Beta 2. 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 fields. If I do a SQL Query, I can see the data. The problem is
when I go to create a Data Source so I can use the data in a grid it doesn't
work, I get the following error with every table:
<'C:\DBTEST'..' MODULE'>
Error in SELECT clause: expression near '''.
Missing FROM clause.
Unable to parse query test.

I can't find where I would be able to modify these sql queries to try and
fix it. I've spent hours reading up on connecting with OLEDB or ODBC but
haven't been able to get it working.

If I try and create a TableAdapter I get the following error:
An unexpected error has occurred.
Error Message: ERROR [HYC00][Microsoft][ODBC Paradox Driver] Optional
feature not implemented.

If I try and create a data server using OLEDB, I get a error message saying
"Could not find installable ISAM" when I try and test the connection.

I think I'm close as I can connect to the database and view the data, I just
can't seem to get it in a container I can use in the program. I'm really
lost and even just a point in the right direction, a web page, book anything
would be helpful. Thanks.
Nov 17 '05 #1
2 9990
Hi,

try to run a query ( using Command.Execute Reader ) using ODBC to connect.

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Michael Gerbasio" <mw********@hot mail.com> wrote in message
news:uT******** ******@TK2MSFTN GP09.phx.gbl...
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# 2005 Beta 2. 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 fields. If I do a SQL Query, I can see the data. The problem is
when I go to create a Data Source so I can use the data in a grid it
doesn't work, I get the following error with every table:
<'C:\DBTEST'..' MODULE'>
Error in SELECT clause: expression near '''.
Missing FROM clause.
Unable to parse query test.

I can't find where I would be able to modify these sql queries to try and
fix it. I've spent hours reading up on connecting with OLEDB or ODBC but
haven't been able to get it working.

If I try and create a TableAdapter I get the following error:
An unexpected error has occurred.
Error Message: ERROR [HYC00][Microsoft][ODBC Paradox Driver] Optional
feature not implemented.

If I try and create a data server using OLEDB, I get a error message
saying "Could not find installable ISAM" when I try and test the
connection.

I think I'm close as I can connect to the database and view the data, I
just can't seem to get it in a container I can use in the program. I'm
really lost and even just a point in the right direction, a web page, book
anything would be helpful. Thanks.

Nov 17 '05 #2
Michael,

As a Delphi programmer that made the move to C# a couple of years ago (I
still do some work in Delphi 7), I hate to suggest it, but you might also
consider converting your Paradox tables into MS Access tables. The MS
Access program can easily import and convert them to the mdb format.

Dave
Nov 17 '05 #3

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

Similar topics

2
7035
by: Vilmar Brazão de Oliveira | last post by:
Hi all, What can be wrong in the database connection bellow to connect paradox? What is missing?? ---------------------------------------------------------------------------- ------------------------- <% Response.Expires = -1 %> <% Dim ConParadox
4
11363
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 exactly cause I'm not familar with paradox at all, but I've found files like *.db, *.mb, *.px, *.xg*, *.yg* !!! I need the infomation from this files to combine it with other data stored in SQL 2000. I'm tried DTS to import the Data but I've got an...
0
6648
by: Steve Barker | last post by:
I am trying to access Paradox through a .NET Windows application I am writing. I have added a Data Connection to the Paradox table in the Server Explorer of Visual Studio .NET. I have used the "Microsoft OLD DB Provider for ODBC Drivers" option to make the connection. This works fine... even though the Paradox table is password protected. I have dragged a the table from the Server Explorer to my form to make a connection object and a data...
0
3672
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 doesn´t. The following code is the same from both, except the way to display the error messenger.. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
0
1338
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! However, the way in which it has stopped working is very strange. Here is an example program that demonstrates my problem: ================
0
1193
by: Ricardo Magalhaes | 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 doesn´t. The following code is the same from both, except the way to display the error messenger.. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
0
1854
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 MS Access, so that we can create a few select forms using Access. I've been trying for a while to get MS Access to work correctly with a linked Paradox table. It works fine for reading, but when I attempt to edit records in Access, especially...
1
5310
by: Harvest Wind | last post by:
Hi: I have a program in VB 6.0 that connects to an access database and connects to a paradox database (directory)... I query an Access table and it returns the data I need...as the program begins. The operator selects a date and then presses a command button which starts a query on a Paradox table in it's directory (database to which I made the initial connection)...and it returns data on my machine...and on four other machines in our...
4
2612
by: Hurin | last post by:
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 :
0
8987
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9534
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9366
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9316
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9241
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8239
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6073
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4597
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3303
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.