ProductName

Returns the product name stored in the project’s version information. Read-only.

Syntax: object.ProductName

object
required An object expression that evaluates to an _App object. In practice this is the global App object.

The value is taken from the Product Name field of the project’s version information, set in Project Settings. When the field is not set, a built program returns the Application Title, which the build writes into the version resource in its place, and a program run in the IDE returns an empty string.

Example

This example shows the product name in a message box.

MsgBox "Product: " & App.ProductName

See Also