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

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

Life runs on code. Find out how Visual Studio 2010 can help you realize your vision. Learn more...

Home > Search > Articles & Samples > Visual Basic.Net
Search:
What's New - What's Hot
Listings for Assembly Assembly (25)
Listings for Attributes Attributes (19)
Listings for Automation Automation (44)
Listings for Class Libraries Class Libraries (62)
Listings for Command-Line Command-Line (1)
Listings for Compiling Compiling (7)
Listings for Component Component (102)
More Categories for Database Database (381)
Listings for Debugging Debugging (17)
Listings for Delegates Delegates (30)
Listings for Deployment Deployment (35)
Listings for Directory Directory (8)
Listings for EMail EMail (36)
Listings for Error Handling Error Handling (23)
Listings for Event Handling Event Handling (56)
Listings for Exception Exception (30)
More Categories for File Management File Management (36)
Listings for Form Handling Form Handling (11)
Listings for GDI+ GDI+ (217)
Listings for Graphics & Charts Graphics & Charts (109)
Listings for Guest Book Guest Book (5)
Listings for Image processing Image processing (14)
More Categories for Language Reference Language Reference (43)
Listings for Messaging Messaging (10)
Listings for Migration to VB.NET Migration to VB.NET (86)
Listings for Miscellaneous Miscellaneous (422)
Listings for Namespaces Namespaces (26)
Listings for Object Pooling Object Pooling (17)
More Categories for Office Documents Office Documents (58)
Listings for OOP OOP (163)
Listings for Operating System Operating System (18)
Listings for Performance Performance (14)
Listings for Plugins Plugins (39)
Listings for Reference Reference (13)
Listings for Reflection Reflection (25)
Listings for Registry Registry (8)
Listings for Regular Expression Regular Expression (25)
Listings for Reports Reports (22)
Listings for Sample Programs Sample Programs (905)
Listings for Search & Directory Search & Directory (7)
Listings for Serialization Serialization (26)
More Categories for Server Controls Server Controls (330)
Listings for System.Net System.Net (51)
Listings for Threading Threading (62)
Listings for Tips & Tricks Tips & Tricks (490)
Listings for User Controls User Controls (109)
Listings for VB.Net and XML VB.Net and XML (112)
Listings for Web Services Web Services (82)
Listings for Windows Form Windows Form (306)
Listings for Windows Services Windows Services (50)


How to: Apply Styles to Ranges in Workbooks    Version: 0.00       Price: $0.00   
Total Hits: 0  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

You can apply named styles to regions in workbooks. Excel supplies a number of predefined styles.

The Format Cells dialog box displays all the options you can use to format cells, and each of these options is available from your code. To display this dialog box in Excel, click Cells on the Format menu....

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

When you create a document programmatically, the new document is a native Microsoft.Office.Interop.Word..::.Document object. This object does not have the additional events and data binding capabilities of a Microsoft.Office.Tools.Word..::.Document host item. For more information, see Programmatic Limitations of Host Items and Host Controls.

Starting in SP1, you can use application-level add-ins to convert any Microsoft.Office.Interop.Word..::.Document object to a Microsoft.Office.Tools.W...

How to: Open Existing Documents    Version: 0.00       Price: $0.00   
Total Hits: 0  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

The Open method opens the existing Microsoft Office Word document specified by a fully qualified path and file name. This method returns a Microsoft.Office.Interop.Word..::.Document....

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

You can close the active document or you can specify a document to close.
Closing the Active Document

There are two procedures for closing the active document: one for document-level customizations and one for application-level add-ins....

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

There are several ways to save Microsoft Office Word documents. You can save a document without changing the name of the document, or you can save a document with a new name....

How to: Reset Ranges in Word Documents    Version: 0.00       Price: $0.00   
Total Hits: 0  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

Set an initial range starting with the first seven characters in the document.

The following code example can be used in a document-level customization....

How to: Format Text in Documents    Version: 0.00       Price: $0.00   
Total Hits: 0  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

The following example selects the first paragraph in the document and changes the font size, the font name, and the alignment. It then selects the range and displays a message box to pause before executing the next section of code. The next section calls the Undo method of the Microsoft.Office.Tools.Word..::.Document host item (for a document-level customization) or the Microsoft.Office.Interop.Word..::.Document class (for an application-level add-in) three times. It applies the Normal Indent st...

How to: Add XMLNode Controls to Word Documents    Version: 0.00       Price: $0.00   
Total Hits: 0  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

The information set out in this topic regarding Microsoft Word is presented exclusively for the benefit and use of individuals and organizations who are located outside the United States and its territories or who are using, or developing programs that run on, Microsoft Word products that were licensed by Microsoft before January 2010, when Microsoft removed an implementation of particular functionality related to custom XML from Microsoft Word. This information regarding Microsoft Word may not ...

How to: Update Bookmark Text    Version: 0.00       Price: $0.00   
Total Hits: 0  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

You can insert text into a placeholder bookmark in a Microsoft Office Word document so that you can retrieve the text at a later time, or to replace text in a bookmark. If you are developing a document-level customization, you can also update text in a Microsoft.Office.Tools.Word..::.Bookmark control that is bound to data. For more information, see Binding Data to Controls in Office Solutions....

How to: Search for Text in Documents    Version: 0.00       Price: $0.00   
Total Hits: 0  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

The Find object is a member of both the Selection and the Range objects, and you can use either one to search for text in Microsoft Office Word documents. The replace command is an extension of the find command. For information about replacing text in documents, see How to: Search for and Replace Text in Documents....

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

Call the PrintOut method of the Microsoft.Office.Tools.Word..::.Document class to print the entire document. To use this example, run the code from the ThisDocument class in your project....

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

The Tables collection is a member of the Microsoft.Office.Interop.Word..::.Document, Microsoft.Office.Tools.Word..::.Document, Selection, and Range classes, which means that you can create a table in any of those contexts. You use the Add method of the Tables collection to add a table at the specified range....



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