|
|
|
|
|
Total Hits: 0 | Today: 0
|
Author: Microsoft Corporation
|
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)....
|
|
|
|
Total Hits: 1 | Today: 1
|
Author: Microsoft Corporation
|
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)....
|
|
|
|
Total Hits: 1 | Today: 1
|
Author: Microsoft Corporation
|
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....
|
|
|
|
Total Hits: 1 | Today: 0
|
Author: Microsoft Corporation
|
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....
|
|
|
|
Total Hits: 1 | Today: 0
|
Author: Microsoft Corporation
|
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...
|
|
|
|
Total Hits: 1 | Today: 0
|
Author: Microsoft Corporation
|
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....
|
|
|
|
Total Hits: 1 | Today: 0
|
Author: Microsoft Corporation
|
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....
|
|
|
|
Total Hits: 1 | Today: 0
|
Author: Microsoft Corporation
|
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)....
|
|
|
|
Total Hits: 1 | Today: 0
|
Author: Microsoft Corporation
|
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....
|
|
|
|
Total Hits: 1 | Today: 0
|
Author: Microsoft Corporation
|
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....
|
|
|
|
Total Hits: 1 | Today: 0
|
Author: Microsoft Corporation
|
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....
|
|
|
|
Total Hits: 1 | Today: 0
|
Author: Microsoft Corporation
|
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...
|
|
|
|
|
|