473,383 Members | 1,846 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,383 software developers and data experts.

ODBC .Net

I'm trying to use ODBC to connect to different databases in VB.NET I know
there is a reference I need to add called Microsoft.Data.ODBC.dll but it is
not available on my list of .Net references. I have the .Net Framework 1.1
so I do not understand wht I cannot use ODBC.

What am I doing wrong?

TIA
Darren
Nov 20 '05 #1
7 1325
Cor
Hi Darren..
I'm trying to use ODBC to connect to different databases in VB.NET I know
there is a reference I need to add called Microsoft.Data.ODBC.dll but it is not available on my list of .Net references. I have the .Net Framework 1.1
so I do not understand wht I cannot use ODBC.


I think you find your solution easy here

http://www.connectionstrings.com/

I hope this helps a little bit?
Cor
Nov 20 '05 #2
"Darren Gulliver" <gu************@hotmail.com> scripsit:
I'm trying to use ODBC to connect to different databases in VB.NET I know
there is a reference I need to add called Microsoft.Data.ODBC.dll but it is
not available on my list of .Net references. I have the .Net Framework 1.1
so I do not understand wht I cannot use ODBC.


Are you referring to 'System.Data.Odbc'? You can use this namespace by
adding a reference to "System.Data.dll".

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
No, you need to add: Microsoft.Data.Odbc.dll

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bm************@ID-208219.news.uni-berlin.de...
"Darren Gulliver" <gu************@hotmail.com> scripsit:
I'm trying to use ODBC to connect to different databases in VB.NET I know there is a reference I need to add called Microsoft.Data.ODBC.dll but it is not available on my list of .Net references. I have the .Net Framework 1.1 so I do not understand wht I cannot use ODBC.


Are you referring to 'System.Data.Odbc'? You can use this namespace by
adding a reference to "System.Data.dll".

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>


Nov 20 '05 #4
Nevermind, I spoke too soon. Sorry.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bm************@ID-208219.news.uni-berlin.de...
"Darren Gulliver" <gu************@hotmail.com> scripsit:
I'm trying to use ODBC to connect to different databases in VB.NET I know there is a reference I need to add called Microsoft.Data.ODBC.dll but it is not available on my list of .Net references. I have the .Net Framework 1.1 so I do not understand wht I cannot use ODBC.


Are you referring to 'System.Data.Odbc'? You can use this namespace by
adding a reference to "System.Data.dll".

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>


Nov 20 '05 #5
On Wed, 8 Oct 2003 11:13:58 +0100, "Darren Gulliver" <gu************@hotmail.com> wrote:

¤ I'm trying to use ODBC to connect to different databases in VB.NET I know
¤ there is a reference I need to add called Microsoft.Data.ODBC.dll but it is
¤ not available on my list of .Net references. I have the .Net Framework 1.1
¤ so I do not understand wht I cannot use ODBC.
¤

If it's not in the global assembly cache, try browsing for the file Microsoft.Data.Odbc.dll and add
it through the references dialog.

You could also download and install the component:
http://www.microsoft.com/downloads/d...displaylang=en
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #6
Thank you all for your input.

As I'm running VS2002 v1.1 of the framework is not compatible. Only VS2003
is.

I found a ODBC_Net set up program which makes the Microsoft.Data.ODBC.dll
available. I downloaded this extra driver from
http://www.microsoft.com/downloads/d...displaylang=en

Regards
Darren
"Darren Gulliver" <gu************@hotmail.com> wrote in message
news:eG**************@TK2MSFTNGP12.phx.gbl...
I'm trying to use ODBC to connect to different databases in VB.NET I know
there is a reference I need to add called Microsoft.Data.ODBC.dll but it is not available on my list of .Net references. I have the .Net Framework 1.1
so I do not understand wht I cannot use ODBC.

What am I doing wrong?

TIA
Darren

Nov 20 '05 #7
On Thu, 9 Oct 2003 10:05:51 +0100, "Darren Gulliver"
<gu************@hotmail.com> wrote:

¤ Thank you all for your input.
¤
¤ As I'm running VS2002 v1.1 of the framework is not compatible. Only VS2003
¤ is.
¤
¤ I found a ODBC_Net set up program which makes the Microsoft.Data.ODBC.dll
¤ available. I downloaded this extra driver from
¤ http://www.microsoft.com/downloads/d...displaylang=en
¤

Just an FYI concerning the framework version compatibility issues:

http://www.gotdotnet.com/team/changeinfo/default.aspx
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #8

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

Similar topics

0
by: Marco Aschwanden | last post by:
Hi - Win2000 - Python 2.3.3 - py2exe 0.5.0 - eGenix Comercial & Base Package I am developing an app using mxODBC. On the home page they say ...
11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
0
by: Kong Li | last post by:
Follow up to this thread, the latest Oracle 9i release 2 patchset (9.2.0.5) fixed the handle count leak problem. The problem is in Oracle client component. Thanks. Kong ----- From: Kong...
6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
4
by: Roger Redford | last post by:
Dear Experts, I'm attempting to marry a system to an Oracle 817 datbase. Oracle is my specialty, the back end mainly, so I don't know much about java or javascript. The system uses javascript...
4
by: Andreas Lauffer | last post by:
Can anyone tell me advantages / disadvantages of DataDirect Server Wire ODBC-driver? Any experiences? What about redistribution? Andreas Lauffer, easySoft. GmbH, Germany
3
by: Lauren Quantrell | last post by:
Maybe a dumb question - I'm new to ODBC. How do I install an Access ..mde file on a user's workstation and create the ODBC connection to the backend SQL Server database without having to go through...
5
by: Alec | last post by:
Hi All, I am currently trying to link in Access 97 to a table in a MSSQL 7 server. Initially the link is fine, however, when I close the access database and re-open it from the same network...
2
by: Crazy Cat | last post by:
Hi all, I am having trouble getting linked Oracle 9 server in MS SQL Server 2005 Express to work properly. My machine is running Windows XP. The Microsoft and Oracle OLE DB Providers have...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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.