AppFrameWork Object [C++]
Use this object to simplify forms processing in Active Server Pages (ASP).
ProgID: | Commerce.AppFrameWork (Externally creatable) |
COM Class Name: | AppFrameWork |
Type Library Name: | AspLib 1.0 Type Library |
DLL Name: | asplib.dll |
Threading Model: | Both |
[C++]
COM Interface Name: | IAppFrameWork |
Interface ID Constant: | None |
Header File: | None |
[C++]
In C++, use the IAppFrameWork interface to access the methods of the AppFrameWork object.
Because this object is primarily intended for use within ASP script, access from C++ will not be common.
Methods
[C++]
Method | Description |
---|---|
Option | Generates an option tag on a page. |
RequestDate | Retrieves a value from a URL query string or form post variable and converts it to a Date value (Date Variant). |
RequestDateTime | Retrieves a value from a URL query string or form post variable and converts it to a DateTime value (Date Variant). |
RequestFloat | Retrieves a value from a URL query string or form post variable and converts it to a floating-point value. |
RequestMoneyAsNumber | Retrieves a value from a URL query string or form post variable and converts it as money, based on the specified locale. |
RequestNumber | Retrieves a value from a URL query string or form post variable and converts it to a number. |
RequestString | Retrieves a value from a URL query string or form post variable and performs string processing on it. |
RequestTime | Retrieves a value from a URL query string or form post variable and converts it to a Time value (Date Variant). |
VerifyWith | Generates hidden input fields that contain verification values. |
VirtualDirectory | Returns the name of the virtual directory for the site. |
[Visual Basic]
Method | Description |
---|---|
Option | Generates an option tag on a page. |
RequestDate | Retrieves a value from a URL query string or form post variable and converts it to a Date value (Date Variant). |
RequestDateTime | Retrieves a value from a URL query string or form post variable and converts it to a DateTime value (Date Variant). |
RequestFloat | Retrieves a value from a URL query string or form post variable and converts it to a floating-point value. |
RequestMoneyAsNumber | Retrieves a value from a URL query string or form post variable and converts it as money, based on the specified locale. |
RequestNumber | Retrieves a value from a URL query string or form post variable and converts it to a number. |
RequestString | Retrieves a value from a URL query string or form post variable and performs string processing on it. |
RequestTime | Retrieves a value from a URL query string or form post variable and converts it to a Time value (Date Variant). |
VerifyWith | Generates hidden input fields that contain verification values. |
VirtualDirectory | Returns the name of the virtual directory for the site. |
Remarks
The AppFrameWork object methods fall mainly into the following categories:
- Formatting. The Option method makes it possible for you to easily format HTML page items, and where applicable, to determine HTML item values based upon a run time evaluation of other variables used in your page.
- Validation. These methods begin with Request, and are used to retrieve values from a URL query string, convert the values to given data types based on a locale value, and validate these values against a specified range.
Before you create this object, you must create the Commerce.DataFunctions object in Application scope.
The AppFramework object is not available through the Common Language Runtime Interop Layer or the Base Class Library for use within the Commerce Server .NET Application Framework.
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.