ProductCode Property

Microsoft Access Visual Basic

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 & "."