My products and subscriptions
Explore these great resources across Microsoft.com
All Windows downloads
Download Windows 8.1
All Office downloads
Microsoft Security Essentials
Microsoft Update: Service packs & fixes
Drivers (sound, printer, USB others)
Microsoft Hardware drivers
Visit the Microsoft Store
Visit us in person
Find a store near you
Visual Basic 2005 Solution Center
Microsoft Visual Basic 2005
Troubleshooting - Microsoft Visual Basic 2005
How to trace and debug in Visual Basic 2005 or in Visual Basic .NET
Describes how to use the Debug and Trace class in Visual Basic .2005 or in Visual Basic .NET.
Items in the ComboBox control are not selected while you type the first characters
Explains that items in the ComboBox control are not selected while you type the first characters. Provides a solution to work around this behavior.
You may receive an error message when you use an invalid namespace in Visual Basic .NET or in Visual Basic 2005
Describes that you may receive an error message when you use an invalid namespace in Visual Basic .NET or in Visual Basic 2005. This article provides some sample steps to reproduce the problem.
How to implement the Dispose method in a derived class in Visual Basic .NET or in Visual Basic 2005
Describes how to implement the Dispose method in a derived class in Visual Basic .NET or in Visual Basic 2005.
Error message when you use CommandBuilder: "An unhandled exception of type 'System.NullReferenceException' occurred"
Explains that you receive an error message when you use CommandBuilder. Provides two methods to resolve this problem.
SET statements do not have connection-wide ccope with ExecuteReader() of SQLCommand class
Describes that SET statements do not have connection-wide ccope with ExecuteReader() of SQLCommand class. Provides a resolution.
BUG: The FillSchema method may not include schema for the PrimaryKey column for the join query
Explains that the schema for the PrimaryKey column of the table is not included when you try to use the FillSchema method of the SqlDataAdapter object. This problem occurs when you use the join query that has columns only from one table.
The DataAdapter.Fill method does not set all of the properties of the DataTable and DataColumn objects
Explains that various properties of the DataTable and DataColumn objects are not set after you use the DataAdapter.Fill method. This article provides two methods to resolve this problem.
BUG: The GetSchemaTable method of the SqlDataReader object returns the wrong column name
Explains that the SqlDataReader.GetSchemaTable method returns the BaseServerName column that is not included in the .NET Framework Class Library SDK document. To resolve this problem, use the OleDbDataReader object.
An "An unhandled exception of type 'System.ArgumentException' occurred" error occurs when you set the Sorted property to True
Explains that you receive an "An unhandled exception of type 'System.ArgumentException' occurred" error when you set the Sorted property to True. You can set the Sorted property before you bind the ListBox to a datasource to resolve it.
BUG: The original data appears in the DataGrid control although you have removed the data from the DataSet object
Describes an issue that occurs if you use the SetDataBinding method to bind a data source to a DataGrid control. The data still appears in the control ever after you use the Clear method to remove all the DataTable objects from the data source.
Memory usage increases when you run a Visual Basic 2005 or Visual Basic 2008 application that creates an instance of a class
Discusses an issue that may occur when you run a Visual Basic 2005 or Visual Basic 2008 application that was compiled in debug mode. You may experience this issue if the class in the application contains an event. Provides two resolution methods.
Output parameters are not returned when you run an ADO.NET command in Visual Basic
Explains that parameters are not returned when you run an ADO.NET command in Visual Basic. Includes a resolution.
BUG: You receive a "Syntax error or access violation" error message in ADO.NET when you run a query two times
Explains that you may receive an error message if you run a SQL query that is associated with an ADODB.Command by using the ADO connection two times. Provides a method to resolve this problem.
DataSet contains duplicate records based on the SQL outer join query
Explains that the DataTable may contain two copies of each record if you call the Fill method twice on a DataTable in a DataSet that is based on a SQL outer join statement. You can clear the DataTable before you reload the data to resolve this issue.
Error when you try to call the Prepare method before you add parameters: "An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll"
Explains that you receive an unhandled exception error in SQL Server 7.0 when you try to call the Prepare method before you add parameters.
InvalidCastException exception when you reference the value of a DataColumn that is NULL
Describes that when you reference the value of a DataColumn that is NULL you may receive an InvalidCastException exception. Provides a resolution.
"Type 'DataSetName' is not defined" error message when you build the project
Describes that when you build the project, you receive a "Type 'DataSetName' is not defined" error message. Provides a resolution.
DataSet column mapping throws an InvalidOperationException exception when the specified column is missing in ADO.NET
Explains that an InvalidOperationException exception is thrown when you use DataSet column mapping in ADO.NET. Includes a resolution to the problem.
The CommandBuilder object may rebuild a command that you try to modify during the next call to the DataAdapter.Update method and your changes to the command may be lost
Explains that the CommandBuilder object may rebuild a command that you try to modify during the next call to the DataAdapter.Update method, and your changes to the command may be lost. Includes a resolution.
A LIKE statement does not return any data with Oracle character data type
Explains that when you use a LIKE statement to search fixed-length character types, Oracle does not find any rows if their padding is different. Includes a resolution to the problem.
FIX: You may receive Visual Basic compiler error messages when you are developing a Visual Basic 2005 project in Visual Studio 2005
Fixes a problem that may occur more frequently when you use the Edit and Continue feature to debug code or when you are developing in ASP.NET.
FIX: You may experience performance issues when you use solutions that contain large Visual Basic projects in Visual Studio 2005
Fixes a problem where you experience poor performance in the Visual Studio 2005 IDE when you use a Visual Basic solution that contains large projects.
You cannot drop text in a RichTextBox control by using a code sample from MSDN documentation
Explains that you cannot drop text in a RichTextBox control by using a code sample from MSDN documentation. Provides a resolution to this problem.
BUG: The control size is not preserved when a form is minimized and then the form is restored
Explains that the size is not preserved when a form is normalized if you change the size of a control after you minimize the form that hosts that control. Provides two methods to work around this problem.
Visual Studio 2005
Microsoft Visual Studio .NET 2003
Microsoft Visual Basic .NET 2003
Print this page
E-mail this page
Last Review : March 15, 2013
Other Microsoft sites
Service Pack downloads
Direct X download
Knowledge Base search
Supported Products list
Product support lifecycle
Small and medium business support
IT Pro support
Virus and Security solution center
Security home page
Download Security Essentials
Malware Removal tool
Microsoft Outlook Express
Microsoft Fix It downloads
Windows keyboard shortcuts
Microsoft Visual C library runtime error
Windows Installer error: service could not be accessed
How to: Windows XP system restore
Windows update error message
Microsoft Security Essentials manual update download
This site in other countries/regions:
Algeria - Français
Argentina - Español
Australia - English
België - Nederlands
Belgique - Français
Bolivia - Español
Bosna i Hercegovina - Hrvatski
Brasil - Português
Canada - English
Canada - Français
Česká Republika - Čeština
Chile - Español
Colombia - Español
Costa Rica - Español
Crna Gora - Srpski
Danmark - Dansk
Deutschland – Deutsch
Dominican Republic - Español
Ecuador - Español
Eesti - Eesti
El Salvador - Español
España - Español
Estados Unidos - Español
France - Français
Guatemala - Español
Hong Kong SAR - English
Hrvatska - Hrvatski
India - English
Indonesia (Bahasa) - Bahasa
Indonesia (English) - English
Ireland - English
Ísland - Íslenska
Italia - Italiano
Latinoamérica - Español
Latvija - Latviešu
Lietuva - Lietuvių
Luxembourg - Français
Magyarország - Magyar
Malaysia - English
México - Español
Middle East - English
Morrocco - Français
Nederland - Nederlands
New Zealand - English
Norge - Bokmål
Österreich - Deutsch
Panamá - Español
Paraguay - Español
Perú - Español
Philippines - English
Polska - Polski
Portugal - Português
Puerto Rico - Español
România - Română
Schweiz - Deutsch
Singapore - English
Slovenija - Slovenščina
Slovensko - Slovenčina
South Africa - English
Srbija - Srpski
Suisse - Français
Suomi - Suomi
Sverige - Svenska
Tunisia - Français
Türkiye - Türkçe
United Kingdom - English
Uruguay - Español
Venezuela - Español
Việt Nam - Tiếng việt
Ελλάδα - Ελληνικά
България - Български
Казахстан - Русский
Россия - Русский
Україна - Українська
ישראל - עברית
الإمارات العربية المتحدة - العربية
الشرق الاوسط - العربية - العربية
المملكة العربية السعودية - العربية
مصر - العربية
भारत - हिंदी
ไทย - ไทย
대한민국 - 한국어
中国 - 简体中文
台灣 - 繁體中文
日本 - 日本語
香港特別行政區 - 繁體中文
Privacy & Cookies