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)
 


DOC: Incorrect DataRelation.ChildKeyConstraint Property Example      
Total Hits: 364  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

In the MSDN Library Topic DataRelation.ChildKeyConstraint Property and in the Visual Studio Help topic "DataRelation.ChildKeyConstraint Property," the sample code is incorrect. The Help Topics describe how to obtain the ForeignKeyConstraint for the relation.

The sample code is incorrect because it creates a DataRelation object and then tries to get the ForeignKeyConstraint object from its ChildKeyConstraint property immediately after that. The following code is an example of the incorrect...

BUG: Cannot Use the Undo Feature to Move Controls or Components in the Component Tray      
Total Hits: 379  |  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: 276  |  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: 471  |  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: 316  |  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: 283  |  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.
...

"System Error &Hc0000005& (Visual Basic Internal Compiler Error)" Error Message When You Compile a Visual Basic .NET Project      
Total Hits: 1730  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you open, compile, or close a Visual Basic .NET project, you may receive the following error message:
Visual Basic .NET compiler is unable to recover from the following error:
System Error &Hc0000005& (Visual Basic internal compiler error)
Save your work and restart Visual Studio .NET.
...

BUG: SaveFileDialog Object Returns "Cancel" When You Overwrite an Existing File     
Total Hits: 366  |  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.
...

PRB: Visual Studio 6.0 - Error Message: Dao350.dll Was Unable to Register Itself in the System (Q304230)     
Total Hits: 3313  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you try to install a Visual Studio product, you may receive the following error message: dao350.dll was unable to register itself in the system The problem occurs when the installation process completes the "copying files" part and begins the "updating the system" part....

BUG: Setup Fails When You Install Visual Studio .NET Over a Terminal Service Session from a Mapped Drive (Q307420)     
Total Hits: 942  |  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: 519  |  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" & ...

PRB: Save Method of Bitmap Class Does Not Truncate File Size (Q312119)     
Total Hits: 380  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you invoke the Save method of the Bitmap class to overwrite an existing file of the same name, the resulting file is not truncated as expected....

PRB: Error Message When You Add a COM Component: Converting the Type Library to a .NET Assembly Failed (Q316142)      
Total Hits: 1503  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you add a Component Object Model (COM) component to your project's references, you may receive an error message similar to the following:

A reference to ' A ' could not be added. Converting the type library to a .NET assembly failed. Could not load type A.clsAClass from assembly Interop. A , Version=1.0.0.0....

BUG: The Resx File Is Not Updated When You Remove a Control (Q316643)      
Total Hits: 511  |  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: 2418  |  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: 373  |  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: 601  |  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: 2471  |  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...

PRB: Error Message When You Attempt to Build a Class Library Project: COM Interop Registration Failed (Q316163)     
Total Hits: 1866  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you attempt to build a Class Library project, and the project exposes a Collection type through Component Object Model (COM) interop, the build may fail with the following error message:

COM Interop registration failed. Error loading type library/DLL....

PRB: Compiler Error Occurs When You Duplicate Namespace Names (Q316734)     
Total Hits: 603  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you compile your project, you may receive a compiler error that states that a method or a property does not exist in a specific namespace. You may notice that the namespace that the error refers to is a namespace that you created, not the common language runtime namespace that you intended to use....



Disclaimer - Privacy
© 2002-2017 DevASP.net