Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 


Home >Search > Knowledge Base > Visual Basic.Net > Errors and Bugs
Search:
What's New - What's Hot
Listings for VB.NET BUG VB.NET BUG (34)
Listings for VB.NET Errors VB.NET Errors (11)
Listings for VB.NET PRB VB.NET PRB (24)
 


BUG: DataGrid Web Server control wraps when the ItemStyle Wrap property or the HeaderStyle Wrap property is set to false in Visual Basic .NET     
Total Hits: 438  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article refers to the following Microsoft .NET Framework Class Library namespace
When you set the HeaderStyle Wrap or the ItemStyle Wrap property to False, data is still wrapped in the columns of the DataGrid Web control....

BUG: Cannot Use the Undo Feature to Move Controls or Components in the Component Tray      
Total Hits: 368  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you move non-visual controls or components in the Windows Forms Designer Component Tray of the Visual Basic .NET integrated development environment (IDE), the change does not appear to roll back when you click Undo on the Edit menu or press CTRL+Z. When you use the Undo feature the next time, previous changes are undone, though the placement of items in the Windows Forms Designer Component Tray does not change.
...

BUG: UML Code Generator Places IMPORTS Inside Namespace Declarations     
Total Hits: 265  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you use the Unified Modeling Language (UML) software diagram template that is included with Visio 2002 to generate Visual Basic .NET (VB.NET) code, you may receive the following compile error message when a class imports a class from another namespace:

"Imports statement must precede any declaration"

The code generator places the VB.NET IMPORTS statement inside the namespace declaration. The VB.NET language specification requires that you place the IMPORTS statement outside ...

BUG: ListView.ColumnHeaderCollection.Add Method Does Not Work with Autosize Width in Visual Basic      
Total Hits: 459  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you pass -1 or -2 autosize width settings to the ListView.ColumnHeaderCollection.Add method, the ListView control does not display the column as expected.You expect a -1 setting to set the column header to the size of the largest subitem text in the column, and a -2 setting to set the column header to the size of the text in the column header. To work around this issue, avoid using the -1 and -2 autosize parameters. Instead, pass a predefined column width to the Add() method.The other avail...

BUG: Element May Cause Data View to Generate an Error Message      
Total Hits: 305  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you view an XML document with Data View in the Microsoft Visual Studio .NET integrated development environment (IDE), you may receive the following error message:

Although this XML document is well formed, it contains structure that Data View cannot display.The grid cannot show the data correctly because of the unsupported Character "." in element name(s)....

BUG: elementFormDefault and attributeFormDefault Properties of XSD Schema Are Incorrect When Read from Designer      
Total Hits: 272  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you use the XSDSchema designer tool to create an XSD schema, the elementFormDefault and attributeFormDefault properties are read incorrectly by the designer.The Msdatasetgenerator custom tool generates a DataSet that is used to get the XML schema. The DataSet does not preserve the elementFormDefault and attributeFormDefault properties.
...

BUG: SaveFileDialog Object Returns "Cancel" When You Overwrite an Existing File     
Total Hits: 356  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you call the ShowDialog method of a SaveFileDialog object from the Sub Main procedure, you receive DialogResult.CANCEL whether or not you choose to overwrite an existing file. To avoid this problem, call the ShowDialog method from outside the Sub Main procedure.
...

BUG: IntelliSense Displays Namespaces with Inaccessible Members      
Total Hits: 121  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

The IntelliSense feature in a Visual Basic .NET project displays all custom namespaces from referenced assemblies, even if the namespaces do not contain members that are accessible to the current assembly. When IntelliSense references the same assembly in a Microsoft Visual C# .NET project, IntelliSense only displays namespaces that contain members that are accessible to the current assembly.
...

BUG: AddNew Method of CurrencyManager Fails with Bound CheckBox      
Total Hits: 184  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you call the AddNew method to add a new record to a DataTable object that the CurrencyManager object manages, the method silently fails and does not advance to a new record.
...

BUG: Inconsistent Behavior When You Bind the Visible Property of a Windows Form Control to a Boolean Field      
Total Hits: 180  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you bind the Visible property of a Windows Form control to a Boolean field, the property setting is inconsistent with the values in the underlying fields.This behavior occurs because the Visible property is incorrectly updated to the value in the Boolean field.
Instead of binding the Visible property directly to the Boolean field, programmatically set the Visible property of the control based on the current value of the Boolean field....

BUG: "System.InvalidCastException" Error Message When You Pass a Collection from a .NET-Connected Application to Visual Basic 6.0 Components      
Total Hits: 281  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you try to pass a Collection object from Microsoft Visual Basic .NET to Visual Basic 6.0 components, you may receive the following error message:

An unhandled exception of type 'System.InvalidCastException' occurred in ApplicationName.exe
Additional information: Specified cast is not valid.

If you examine the type of the collection object that Visual Basic .NET expects, you find that the VBA.Collection type is expected instead of the Microsoft.VisualBasic.Collection type....

BUG: Incorrect Events Listed in the Event Drop-Down List for a TextBox Control     
Total Hits: 410  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

The event list of the TextBox control for Microsoft Windows forms does not display the following public event handlers that are documented in the Microsoft Developer Network (MSDN) library:
Click, ControlAdded, ControlRemoved, Disposal, GetFocus, HandleCreated, HandleDestroyed, Invalidated, LostFocus, MouseWheel, Paint...

BUG: Expired Authentication Cookie Increases QueryString Size in Visual Basic .NET      
Total Hits: 168  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Mobile Forms Authentication creates an encrypted authentication cookie that is appended to the URL request for a Microsoft Mobile Internet Toolkit Web page....

BUG: Setup Fails When You Install Visual Studio .NET Over a Terminal Service Session from a Mapped Drive (Q307420)     
Total Hits: 929  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you try to run Microsoft Visual Studio .NET (VS .NET) Setup from a terminal service session and the setup files reside on a mapped drive, you may receive the following error messages in both VS .NET Setup and the Windows Components Update:

"Microsoft Visual Studio .Net
Windows Component Update

SETUP FAILED

The following components failed to install:

Microsoft FrontPage 2000 Web Extensions Client
Setup Runtime Files
Microsoft Visual Studio .Net

Setup Failed

There were errors during setup."
The setup log named Baserrorlog.txt d..Read More..

BUG: Visual Basic .NET Code Examples Overwrite Text in Console Window (Q306720)     
Total Hits: 506  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Many of the Visual Basic code samples in the .NET Framework documentation use the ControlChars.Cr constant to write output to the console. However, this constant, which is intended to separate lines of output in the console, causes the lines of output to be written over each other on a single line in the console.For example, if a sample intends to write the following output to the console: First Line Second Line if you use the following code:

Console.Write( "First Line" & ...

BUG: The Resx File Is Not Updated When You Remove a Control (Q316643)      
Total Hits: 500  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

If you add a control to a form and then localize it, some strings may persist when you delete and replace the control with a control of the same name. You may see strings that are intended for the deleted version of the control that are overwriting the text property value that is entered in the design environment when the solution is run....

BUG: "Old Format or Invalid Type Library" Error When Automating Excel 2002 (Q320369)     
Total Hits: 2404  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

If you automate Microsoft Excel 2002 with Microsoft Visual Basic .NET, Microsoft Visual C# .NET, or Microsoft Visual C++, you may receive the following error when calling certain methods:

Error: 0x80028018 (-2147647512)

Description: Old Format or Invalid Type Library...

BUG: Upgrade Wizard Incorrectly Converts an ActiveX Control's DataSource Property (Q316170)      
Total Hits: 362  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you use the Upgrade Wizard to upgrade a project from Microsoft Visual Basic 6.0 to Visual Basic .NET, the DataSource property of the ActiveX controls contained in the upgraded project may not migrate correctly. If the fully qualified name is used to access the DataSource property, the DefInstance property is not added during migration.

...

BUG: Visual Basic .NET "'[Method]' is ambiguous across the inherited interfaces" Error Message When Using Office Automation (Q315981)      
Total Hits: 589  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you use Visual Basic .NET to automate a Microsoft Office application, and an Automation object has both a method and an event with the same name, you may receive the following compile time error message when you build the project:
BC30685: '[Method]' is ambiguous across the inherited interfaces '[Interface1]' and '[Interface2]'....

BUG: "Object Variable or With Block Variable Not Set" Error Message When You Access a Public Object Variable (Q316478)     
Total Hits: 2460  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you access a public object variable of a Component Object Model (COM) component in Visual Basic .NET, you may receive the following error message:

An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in microsoft.visualbasic.dll

Additional information: Object variable or With block variable not set...



Disclaimer - Privacy
© 2002-2017 DevASP.net