|Total Hits: 439 | Today: 0||Author: Microsoft Corporation|| 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....
|Total Hits: 371 | Today: 0|| 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.
|Total Hits: 268 | Today: 0|| 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 ...
|Total Hits: 462 | Today: 0|| 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...
|Total Hits: 308 | Today: 0|| 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)....
|Total Hits: 275 | Today: 0|| 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.
|Total Hits: 359 | Today: 0|| 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.
|Total Hits: 122 | Today: 0|| 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.
|Total Hits: 185 | Today: 0|| 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.
|Total Hits: 182 | Today: 0|| 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....
|Total Hits: 282 | Today: 0|| 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....
|Total Hits: 411 | Today: 0|| 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...
|Total Hits: 169 | Today: 0|| Rating: |
Mobile Forms Authentication creates an encrypted authentication cookie that is appended to the URL request for a Microsoft Mobile Internet Toolkit Web page....
|Total Hits: 932 | Today: 0|| 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
The following components failed to install:
Microsoft FrontPage 2000 Web Extensions Client
Setup Runtime Files
Microsoft Visual Studio .Net
There were errors during setup."
The setup log named Baserrorlog.txt d..Read More..
|Total Hits: 509 | Today: 0|| 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" & ...
|Total Hits: 503 | Today: 0|| 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....
|Total Hits: 2408 | Today: 0|| 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...
|Total Hits: 365 | Today: 0|| 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.
|Total Hits: 592 | Today: 0|| 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]'....
|Total Hits: 2463 | Today: 0|| 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...