Search - Articles - Dev Forums - Favorites - Member Login  
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Friday, September 03, 2010

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

Build the right apps the right way with powerful development tools.
Visual Studio 2010. Learn more...

Home > Search > Knowledge Base > Visual Basic.Net
Search:
What's New - What's Hot
Listings for Automation Automation (15)
Listings for Base Class Libraries Base Class Libraries (8)
Listings for Compiling Compiling (2)
Listings for Component Component (12)
More Categories for Database Database (103)
Listings for Debugging Debugging (2)
Listings for Error Handling Error Handling (8)
More Categories for Errors and Bugs Errors and Bugs (69)
Listings for Exceptions Exceptions (5)
More Categories for File Management File Management (12)
Listings for Migration to VB.NET Migration to VB.NET (12)
Listings for Miscellaneous Miscellaneous (40)
Listings for Object Pooling Object Pooling (13)
More Categories for Office Documents Office Documents (23)
Listings for Operating System Operating System (17)
Listings for Reference Reference (2)
Listings for Regular Expression Regular Expression (4)
Listings for Server Application Server Application (8)
More Categories for Server Controls Server Controls (20)
Listings for Threading Threading (8)
Listings for User Controls User Controls (11)
Listings for VB.Net and XML VB.Net and XML (71)
Listings for Windows Form Windows Form (33)
 


How to: Change Cached Data in a Workbook on a Server    Version: 0.00       Price: $0.00   
Total Hits: 41  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

You can change data in the cache of a Microsoft Office Excel workbook that is part of a document-level project without running Excel. This makes it possible to change data in Excel workbooks that are stored on a server.

The code to change the data must be outside of the main project assembly that is associated with the document you are working with, for example in an ASP.NET Web page, a console application, or a Windows Forms application....

How to: Add Custom XML Parts to Document-Level Customizations    Version: 0.00       Price: $0.00   
Total Hits: 53  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

You can store XML data in a Microsoft Office Excel workbook or Microsoft Office Word document by creating a custom XML part in a document-level customization. For more information, see Custom XML Parts Overview....

How to: Create Threads    Version: 0.00       Price: $0.00   
Total Hits: 43  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

The BackgroundWorker component replaces and adds functionality to the System.Threading namespace; however, the System.Threading namespace is retained for both backward compatibility and future use, if you choose. For more information, see BackgroundWorker Component Overview....

How to: Create a Custom Image Button Control    Version: 0.00       Price: $0.00   
Total Hits: 40  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

To create a button with an image, you must create a custom control that derives from the Windows Forms Control class.
To create a button with an image

1.

Create a class that derives from the System.Windows.Forms..::.Control class.
2.

Define properties in the class for button images that show a pressed and not pressed state.
3.

Use the Invalidate method to cause the form to repaint when the button is clicked.
4.

Ov...

How to: Access Members of a Web Server Control's Naming Container    Version: 0.00       Price: $0.00   
Total Hits: 49  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

At times, you need to access properties or methods of a control's naming container. For example, during data binding, the naming container makes available a DataItem property containing the data to which controls are bound. You can access the containing control in different ways, depending on context....

How to: Set HTML Server Control Properties Programmatically    Version: 0.00       Price: $0.00   
Total Hits: 63  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

HTML server controls are of two slightly different types. The HTML elements most commonly used in forms are available as individual HTML server controls, such as HtmlInputText, HtmlInputButton, HtmlTable, and so on. These HTML server controls expose their own, control-specific properties that map directly to HTML attributes. However, any HTML element can be converted to a control. In that case, the element becomes an HtmlGenericControl with base class properties such as TagName, Visible, and Inn...

How to: Retrieve Resource Values Programmatically    Version: 0.00       Price: $0.00   
Total Hits: 51  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

You can use declarative syntax to set the values of ASP.NET server control properties to a resource value. Alternatively, you can retrieve resource values programmatically. You might do this if the resource value is not known at design time or if you want to set the resource value based on a run-time condition....

How to: Copy Images    Version: 0.00       Price: $0.00   
Total Hits: 49  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

The .NET Compact Framework does not support the Image..::.Clone method, but you can still copy images and parts of images. The following examples show how to do the following:

*

Define a method to create a bitmap.
*

Define an overloaded method to copy a bitmap or to copy part of a bitmap.
*

Call these methods and draw the images to the screen by overriding the OnPaint method of your form....

How to: Create Custom Cultures    Version: 0.00       Price: $0.00   
Total Hits: 46  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

The predefined cultures provided with the .NET Framework and the Windows operating system provide information such as the language and calendar used in a country/region, and the text conventions used to format, parse, and compare strings, dates, and numbers. However, your application can create a custom culture if the predefined cultures do not provide the required information....

How to: Provide a Toolbox Bitmap for a Control    Version: 0.00       Price: $0.00   
Total Hits: 47  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

If you want to have a special icon for your control appear in the Toolbox, you can specify a particular image by using the ToolboxBitmapAttribute. This class is an attribute, a special kind of class you can attach to other classes. For more information about attributes, see Attributes Overview in Visual Basic for Visual Basic and Attributes (C# Programming Guide) for Visual C#....

How to: Control the Output Window    Version: 0.00       Price: $0.00   
Total Hits: 43  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

The Output window displays status messages for various features in the integrated development environment (IDE). These include build errors that occur when a project is compiled, and the results when T-SQL syntax in a stored procedure is checked against a target database. Certain IDE features, such as the external tools features or commands invoked in the Command window, deliver output to special Output Window panes. Output from external tools, such as .bat or .com files, normally displayed in t...

How to: Handle Concurrency Errors    Version: 0.00       Price: $0.00   
Total Hits: 49  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

You can catch the DBConcurrencyException object to assist in resolving issues arising from concurrency violations. The DBConcurrencyException object returns the data row that caused the error. For more information, see DBConcurrencyException Members....


DevASP.Net - Disclaimer - Privacy
© 2002-2010 DevASP.net