Application.CompanyName Property


Application.CompanyName Property

Class

System.Windows.Forms.Application

Syntax

     Dim result As String = Application.CompanyName 

Description

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

     <Assembly: AssemblyCompany("company")> 

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

Version Differences

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

See Also

Application Class, Application.ProductName 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