Article ID: 308047 - Last Review: March 29, 2007 - Revision: 4.4 How to open ADO Connection and Recordset objects by using Visual Basic .NET
This article was previously published under Q308047 Caution ADO and ADO MD have not been fully tested in a Microsoft .NET
Framework environment. They may cause intermittent issues, especially in
service-based applications or in multithreaded applications. The techniques
that are discussed in this article should only be used as a temporary measure
during migration to ADO.NET. You should only use these techniques after you
have conducted complete testing to make sure that there are no compatibility
issues. Any issues that are caused by using ADO or ADO MD in this manner are
unsupported. For more information, see the following article in the Microsoft
Knowledge Base: 840667
(http://support.microsoft.com/kb/840667/
)
You receive unexpected errors when using ADO and ADO MD in a .NET Framework application On This PageSUMMARY This article demonstrates different ways to create ActiveX
Data Objects (ADO) Connection and Recordset objects in Visual Basic .NET. Note that these objects are ADO
objects and not ADO.NET objects. Create ADO Connection and Recordset Objects in Visual Basic .NET
Value of type 'String' cannot be converted to
'ADODB.Connection'. REFERENCESFor additional information,
click the article number below to view the article in the Microsoft Knowledge
Base: 168336
(http://support.microsoft.com/kb/168336/EN-US/
)
How To Open ADO Connection and Recordset Objects
For more general information about Visual Basic
.NET and ADO.NET, see the following Usenet newsgroups: microsoft.public.dotnet.languages.vb
(http://msdn.microsoft.com/newsgroups/default.aspx?query=microsoft.public.dotnet.languages.vb&dg=&cat=en-us-msdn&lang=en&cr=US&pt=&catlist=774F24A2-F71F-425F-AC2B-DC48AB0DA5C9&dglist=&ptlist=&exp=&sloc=en-us)
microsoft.public.dotnet.framework.adonet (http://msdn.microsoft.com/newsgroups/default.aspx?query=microsoft.public.dotnet.framework.adonet&dg=&cat=en-us-msdn&lang=en&cr=US&pt=&catlist=774F24A2-F71F-425F-AC2B-DC48AB0DA5C9&dglist=&ptlist=&exp=&sloc=en-us) For more information about the advantages of the new DataReader and DataAdapter objects in ADO.NET, visit the following Microsoft Developer (MSDN) Web site: ADO.NET for the ADO Programmer http://msdn2.microsoft.com/en-us/library/ms973217.aspx (http://msdn2.microsoft.com/en-us/library/ms973217.aspx) | Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
