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 Studio 2005
Search:
What's New - What's Hot
Listings for Add-Ons Add-Ons (246)
More Categories for ADO.Net ADO.Net (29)
More Categories for C# 2.0 C# 2.0 (134)
Listings for Cache Cache (3)
Listings for Code Management Code Management (35)
Listings for Compiler Compiler (3)
Listings for Crystal Reports Crystal Reports (102)
Listings for Data Binding Data Binding (11)
Listings for Database Database (38)
Listings for Debugging Debugging (57)
Listings for Design and Strategies Design and Strategies (170)
Listings for Exception Handling Exception Handling (9)
Listings for Features Features (171)
Listings for Installation Installation (26)
Listings for Language Reference Language Reference (29)
Listings for Migration to VS.Net 2005 Migration to VS.Net 2005 (72)
Listings for Miscellaneous Miscellaneous (206)
Listings for Performance/Optimization Performance/Optimization (80)
Listings for Refactoring Refactoring (5)
Listings for Security Security (33)
Listings for Starter Kit Starter Kit (3)
Listings for Threading Threading (14)
More Categories for Visual Basic 2005 Visual Basic 2005 (230)
More Categories for Visual C++ 2.0 Visual C++ 2.0 (27)
Listings for Web Services Web Services (32)
More Categories for Windows Froms 2.0 Windows Froms 2.0 (60)
Listings for XML and VS.Net 2005 XML and VS.Net 2005 (32)
 


Skin Definition File Example (Devices)    Version: 0.00       Price: $0.00   
Total Hits: 0  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

The following code is the Skin Definition File, PocketPC_2003_Skin.xml, for the Pocket PC 2003 skin in portrait format. Visual Studio, except Express editions, installs this and other skin files by default at drive:\Program Files\Microsoft Visual Studio 9.0\SmartDevices\Skins.

You can use the same skin files for the Device Emulator and for the Visual Studio designers. For more information, see Skin Definition File Details (Devices)....

How to: Define and Select Ranges in Documents    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 1 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

You can define a range in a Microsoft Office Word document by using a Range object. You can select the entire document in a number of ways, for example, by using the Select method of the Range object, or by using the Content property of the Microsoft.Office.Tools.Word..::.Document class (in a document-level customization) or the Microsoft.Office.Interop.Word..::.Document class (in an application-level add-in)....

How to: Add Custom XML Parts to Documents by Using Application-Level Add-Ins    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 1 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

You can store XML data in the following types of documents by creating a custom XML part in an application-level add-in:

*

A Microsoft Office Excel workbook.
*

A Microsoft Office Word document.
*

A Microsoft Office PowerPoint presentation....

Calling Code in Application-Level Add-ins from Other Solutions    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

You can expose an object in your add-in to other solutions, including other Microsoft Office solutions. This is useful if your add-in provides a service that you want to enable other solutions to use. For example, if you have an add-in for Microsoft Office Excel that performs calculations on financial data from a Web service, other solutions can perform these calculations by calling into the Excel add-in at run time....

Conditional Operator    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

JScript supports an implicit conditional form, the conditional operator. It takes three operands. A question mark separates the first two operands, and a colon separates the second and third operands. The first operand is a conditional expression. The second operand is a statement that is executed if the conditional expression evaluates to true. The third operand is executed if the conditional is false. For more information, see Conditional (Ternary) Operator (?:). The conditional operator is si...

User-Defined JScript Functions    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

Although JScript includes many built-in functions, you can create your own functions. A function definition consists of a function statement and a block of JScript statements....

Recursion    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

Recursion is an important programming technique that causes a function to call itself. One example is the calculation of factorials. The factorial of 0 is defined specifically to be 1. The factorial of n, an integer greater than 0, is the product of all the integers in the range from 1 to n....

Boolean Data    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

Whereas numeric and string data types can have a virtually unlimited number of different values, the boolean data type can have only two. They are the literals true and false. A Boolean value expresses the validity of a condition (tells whether the condition is true or false)....

Type Conversion    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

Type conversion is the process of changing a value from one type to another. For example, you can convert the string "1234" to a number. Furthermore, you can convert data of any type to the String type. Some type conversions will never succeed. For example, a Date object cannot be converted to an ActiveXObject object....

Conditional Statements    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

Instructions in JScript code execute sequentially by default. It might be useful, however, to alter the logical sequence and transfer control to a nonsequential part of the code depending on specific conditions. A control structure transfers program control to one of two places depending on whether a conditional statement tests true or false. Any expression coercible to a Boolean value can be used as a conditional statement. Some common condition statements are mentioned here....

Type Annotation    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

Type annotation in a function specifies a required type for function arguments, a required type for returned data, or a required type for both. If you do not type annotate the parameters of a function, the parameters will be of type Object. Likewise, if the return type for a function is not specified, the compiler will infer the appropriate return type....

Walkthrough: Creating Shortcut Menus for Bookmarks    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

This walkthrough demonstrates how to create shortcut menus for Bookmark controls in a document-level customization for Word. When a user right-clicks the text in a bookmark, a shortcut menu appears and gives the user options for formatting the text.

This walkthrough illustrates the following tasks:

*

Adding text and bookmarks to the document in a document-level project at design time.
*

Creating a shortcut menu.
*

Checking fo...



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