ProductCode Property [Access 2003 VBA Language Reference]

You can use the ProductCode property to determine the Microsoft Access globally unique identifier (GUID). Read-only String.

expression.ProductCode

expression Required. An expression that returns one of the objects in the Applies To list.

Remarks

The ProductCode property is a string expression that is the GUID of the Microsoft Access product.

This property is available only by using Visual Basic .

Example

The following example displays a message indicating the GUID for Microsoft Access for the user's computer.

MsgBox "The GUID for Microsoft Access on this computer is " & Application.ProductCode & "."

Applies to | Application Object