473,782 Members | 2,664 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VB.Net Joining Paradox and SQL Server Table?

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
Nov 21 '05 #1
8 2217
Would it make more sense to just link the Paradox database in MS SQL, create
a procedure that returns the records you want, and then just have VB.Net
display the results?

"Roger" <da*****@netins .net> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
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

Nov 21 '05 #2
I would like to change the paradox table. So this query would have to be
created dynamically. We have lots of paradox tables with the same name but
in differnt folders.

Roger
"Steve Schroeder" <ss********@mer chant-gould.com> wrote in message
news:ue******** ******@TK2MSFTN GP09.phx.gbl...
Would it make more sense to just link the Paradox database in MS SQL, create a procedure that returns the records you want, and then just have VB.Net
display the results?

"Roger" <da*****@netins .net> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
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


Nov 21 '05 #3
VB is a general programming tool, Paradox is a database engine. Look to the
database engines for the functionality. In this case the Jet engine can be
used (with VB/C#/Delphi/Whatever speaks COM) to help you out.

If you create a temporary Jet mdb file and programmaticall y link the
SQLServer and Paradox tables to it (and/or lotus and/or excel and/or Oracle
and/or xBase and/or other Jet files/tables) then you can run SQL against the
linked tables since the Jet engine treats linked tables pretty much the same
as native tables. With this you could possibly get the general results
you're looking for. The Jet engine's unique advantage among engines is that
it makes great middleware.

Look up ADOX for information on doing table linking.

Robert Smith
Kirkland, WA
www.smithvoice.com

"Roger" <da*****@netins .net> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
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

Nov 21 '05 #4
Jet still has it's uses??? <gasp>

<wink>

"smith" <rc********@smi thvoiceTAKEOUT. com> wrote in message
news:s1******** *********@newsr ead2.news.pas.e arthlink.net...
VB is a general programming tool, Paradox is a database engine. Look to the database engines for the functionality. In this case the Jet engine can be used (with VB/C#/Delphi/Whatever speaks COM) to help you out.

If you create a temporary Jet mdb file and programmaticall y link the
SQLServer and Paradox tables to it (and/or lotus and/or excel and/or Oracle and/or xBase and/or other Jet files/tables) then you can run SQL against the linked tables since the Jet engine treats linked tables pretty much the same as native tables. With this you could possibly get the general results
you're looking for. The Jet engine's unique advantage among engines is that it makes great middleware.

Look up ADOX for information on doing table linking.

Robert Smith
Kirkland, WA
www.smithvoice.com

"Roger" <da*****@netins .net> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
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


Nov 21 '05 #5
:)

As a bulletproof mulituser database it's value will always be hotly debated,
and I really don't want to step into that particular fire today ;-)

Did you see the previous post about MS announcing that they will be
"overhaulin g" Jet and releasing a 64bit version? I think Exchange 200x using
Jet under the hood (and MSMQ too, right? Or am I mistaken on that one) is
pretty telling about its power when used correctly for the right goals.
http://redmondmag.com/reports/articl...itorialsID=128

For things like mixing datasources and simply converting ISAMs or converting
big irons to end-user ISAMs without 3rd party costs, Jet is still the king
of the hill.

smith
"Steve Schroeder" <ss********@mer chant-gould.com> wrote in message
news:OH******** ******@tk2msftn gp13.phx.gbl...
Jet still has it's uses??? <gasp>

<wink>

"smith" <rc********@smi thvoiceTAKEOUT. com> wrote in message
news:s1******** *********@newsr ead2.news.pas.e arthlink.net...
VB is a general programming tool, Paradox is a database engine. Look to

the
database engines for the functionality. In this case the Jet engine can

be
used (with VB/C#/Delphi/Whatever speaks COM) to help you out.

If you create a temporary Jet mdb file and programmaticall y link the
SQLServer and Paradox tables to it (and/or lotus and/or excel and/or

Oracle
and/or xBase and/or other Jet files/tables) then you can run SQL against

the
linked tables since the Jet engine treats linked tables pretty much the

same
as native tables. With this you could possibly get the general results
you're looking for. The Jet engine's unique advantage among engines is

that
it makes great middleware.

Look up ADOX for information on doing table linking.

Robert Smith
Kirkland, WA
www.smithvoice.com

"Roger" <da*****@netins .net> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
> 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
>
>



Nov 21 '05 #6
Great article.

I use it for prototyping and simple apps all the time...solid. First cut my
teeth on Jet, hemmed and hawed when ADO first came out, but eventually
absorbed it.

Kinda feel the same about XML and quote-comma-delimited files...but I won't
win any arguments there, lol!

"smith" <rc********@smi thvoiceTAKEOUT. com> wrote in message
news:1s******** ********@newsre ad2.news.pas.ea rthlink.net...
:)

As a bulletproof mulituser database it's value will always be hotly debated, and I really don't want to step into that particular fire today ;-)

Did you see the previous post about MS announcing that they will be
"overhaulin g" Jet and releasing a 64bit version? I think Exchange 200x using Jet under the hood (and MSMQ too, right? Or am I mistaken on that one) is
pretty telling about its power when used correctly for the right goals.
http://redmondmag.com/reports/articl...itorialsID=128

For things like mixing datasources and simply converting ISAMs or converting big irons to end-user ISAMs without 3rd party costs, Jet is still the king
of the hill.

smith
"Steve Schroeder" <ss********@mer chant-gould.com> wrote in message
news:OH******** ******@tk2msftn gp13.phx.gbl...
Jet still has it's uses??? <gasp>

<wink>

"smith" <rc********@smi thvoiceTAKEOUT. com> wrote in message
news:s1******** *********@newsr ead2.news.pas.e arthlink.net...
VB is a general programming tool, Paradox is a database engine. Look
to the
database engines for the functionality. In this case the Jet engine
can be
used (with VB/C#/Delphi/Whatever speaks COM) to help you out.

If you create a temporary Jet mdb file and programmaticall y link the
SQLServer and Paradox tables to it (and/or lotus and/or excel and/or

Oracle
and/or xBase and/or other Jet files/tables) then you can run SQL
against the
linked tables since the Jet engine treats linked tables pretty much the

same
as native tables. With this you could possibly get the general results
you're looking for. The Jet engine's unique advantage among engines is

that
it makes great middleware.

Look up ADOX for information on doing table linking.

Robert Smith
Kirkland, WA
www.smithvoice.com

"Roger" <da*****@netins .net> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
> 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
>
>



Nov 21 '05 #7
I think you might have misunderstood what is meant by linking here.

In SQL Server 2000, you create a 'linked server' which means that you are
linking to the entire Paradox database, not just a specific table.

Once linked you can code the SQL statement as dynamically as you like, but
it is executed against SQl Server, not Paradox thus:

select <column list> from <paradox table> left join <sql server table> on
.... etc.

Check out the SQl Server Books On Line for further information.
"Roger" <da*****@netins .net> wrote in message
news:eF******** ******@TK2MSFTN GP10.phx.gbl...
I would like to change the paradox table. So this query would have to be
created dynamically. We have lots of paradox tables with the same name
but
in differnt folders.

Roger
"Steve Schroeder" <ss********@mer chant-gould.com> wrote in message
news:ue******** ******@TK2MSFTN GP09.phx.gbl...
Would it make more sense to just link the Paradox database in MS SQL,

create
a procedure that returns the records you want, and then just have VB.Net
display the results?

"Roger" <da*****@netins .net> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
> 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
>
>



Nov 21 '05 #8
On Fri, 1 Apr 2005 11:44:02 -0600, "Roger" <da*****@netins .net> wrote:

¤ 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?
¤

What are the data types of the fields you are trying to join?
Paul
~~~~
Microsoft MVP (Visual Basic)
Nov 21 '05 #9

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

Similar topics

2
7036
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
11364
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
6651
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...
2
9993
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# 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
0
1855
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...
4
4544
by: eselk | last post by:
I've never really setup or used MS SQL Server (just a couple hours, one day, several months ago). I think MS SQL Server has the ability to use "linked tables", like MS Access does. Is this correct? What I want to do is have an MS SQL Server setup, which compatible applications can talk with, but I want the data to come from a Paradox database. I can use any MS SQL version, whatever would work best. I'm not sure about the Paradox...
2
5296
by: John Navratil | last post by:
Anyone having any success with the paradox extension? 'pear install paradox' doesn't work. 'pecl install paradox' seem to do something, but none of the px_??? wrapper functions are found. I do have /usr/share/pear in my include_path. Thanks, John Navratil
1
5311
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...
0
1460
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 paradox database My paradox database path is: =@"D:\\ArchiveBase\\CDFilesa" This is the code I tried,but did not work: private void button1_Click(object sender, System.EventArgs e) {
0
9639
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
10308
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...
1
10076
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
8964
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
6729
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
5375
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
4040
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
2
3633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2870
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.