EuroDisplay Object [C++]

Use this object to convert and format currency amounts where multiple currencies must be displayed.

ProgID:   Commerce.EuroDisplay (Externally creatable)
COM Class Name:   EuroDisplay
Type Library Name:   Microsoft Commerce 2002 Euro Display Component Type Library
DLL Name:   EuroDisp.dll
Threading Model:   Both

[C++]

COM Interface Name:   IEuroDisplay
Interface ID Constant:   None
Header File:   None

[C++]

In C++, use the IEuroDisplay interface to access the properties and methods of the EuroDisplay object.

Because this object is primarily intended for use within ASP script, access from C++ will not be common.

Methods

[C++]

Method Description
ConvertAltStringToCurr Converts a string representation of a monetary value in the currency specified by the alternate locale identifier to a currency VARIANT.
ConvertBaseStringToCurr Converts a string representation of a monetary value in the currency specified by the base locale identifier to a currency VARIANT.
ConvertMoney Converts the specified currency VARIANT (representing a monetary value in the base currency) to a currency VARIANT representing a monetary value in the alternate currency, using the initialized conversion rate.
FormatAltMoney Creates a string representation of a currency VARIANT, based on the alternate locale identifier and the alternate currency symbol string.
FormatBaseMoney Creates a string representation of a currency VARIANT, based on the base locale identifier and the base currency symbol string.
Initialize Initializes the object with the specified alternate currency symbol, base currency symbol, alternate locale identifier, base locale identifier, and conversion rate.

[Visual Basic]

Method Description
ConvertAltStringToCurr Converts a string representation of a monetary value in the currency specified by the alternate locale identifier to a currency Variant.
ConvertBaseStringToCurr Converts a string representation of a monetary value in the currency specified by the base locale identifier to a currency Variant.
ConvertMoney Converts the specified currency Variant (representing a monetary value in the base currency) to a currency Variant representing a monetary value in the alternate currency, using the initialized conversion rate.
FormatAltMoney Creates a string representation of a currency Variant, based on the alternate locale identifier and the alternate currency symbol string.
FormatBaseMoney Creates a string representation of a currency Variant, based on the base locale identifier and the base currency symbol string.
Initialize Initializes the object with the specified alternate currency symbol, base currency symbol, alternate locale identifier, base locale identifier, and conversion rate.

Copyright © 2005 Microsoft Corporation.
All rights reserved.