GenID.GenBase5GUIDString

Ee799565.c++_on(en-US,CS.10).gifEe799565.vb_off(en-US,CS.10).gif

Use this method to generate a base5 Globally Unique Identifier (GUID) string.

Definition

Function GenBase5GUIDString() As String

Parameters

None.

Return Values

If this method completes successfully, it returns a String that contains the base5 GUID.

Error Values

This method sets the Number property of the global Err object to S_OK (&H00000000) to indicate success and to standard COM error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object. In particular, the Description property may contain a text description of the error.

Remarks

A base5 GUID is used to store a slightly more compact version of the traditional GUID. The 128 binary digits are divided into groups of 5 instead of 4 with each group represented by the characters 0-9, and 22 characters of the alphabet. This results in a 26-digit representation for the GUID rather than the customary 32-digit representation.

For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.

See Also

GenID Object


All rights reserved.