O'Reilly logo

VB.NET Language in a Nutshell, Second Edition by Steven Roman PhD, Paul Lomax, Ron Petrusha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

Application.ProductName Property

Class

System.Windows.Forms.Application

Syntax

Application.ProductName(  )

Return Value

A String containing the product name of the application

Description

Gets the product name of the application. This is a read-only property.

The value of the ProductName property can be defined by including the <AssemblyProduct> attribute in the application’s AssemblyInfo file. Its syntax is:

<Assembly: AssemblyProduct("sProduct")>

where sProduct is a string literal containing the product name.

VB.NET/VB 6 Differences

The ProductName property in the .NET Framework corresponds to the App. ProductName property in VB 6.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required