Application.ProductName Property


Application.ProductName Property

Class

System.Windows.Forms.Application

Syntax

     Dim result As String = Application.ProductName 

Description

The ProductName property gets the product name of the application as recorded in the assembly. It is set using the <AssemblyProduct> attribute of the assembly, which normally appears in the AssemblyInfo.vb file. Its syntax is:

     <Assembly: AssemblyProduct("product")> 

where product is the product name. This is a read-only property.

Version Differences

  • This property corresponds to the App.ProductName property in VB 6.

  • Visual Basic 2005 includes the My.Application.Info.ProductName property, which provides similar functionality.

See Also

Application Class, Application.CompanyName Property, Application.ProductVersion Property




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net