Datasheet

16
CHAPTER 1 VISUAL STUDIO 2010
specify that only certain users can successfully start your application. In short, you have the option to limit
your application access to a speci c set of users.
Finally, there is a section associated with enabling an application framework. The application framework
is a set of optional components that enable you to extend your application with custom events and items,
such as a splash screen, with minimal effort. Enabling the framework is the default, but unless you want
to change the default settings, the behavior is the same as if the framework weren t enabled. The third
button, View Application Events, adds a new source fi le,
ApplicationEvents.vb , to your project, which
includes documentation about which application events are available.
Assembly Information Screen
Selecting the Assembly Information button from within
your My Project window opens the Assembly Information
dialog. Within this dialog, shown in Figure 1 - 6, you can
defi ne fi le properties, such as your company s name and
versioning information, which will be embedded in the
operating system s fi le attributes for your project s output.
Note these values are stored as assembly attributes in
AssemblyInfo.vb .
Assembly Attributes
The AssemblyInfo.vb le contains attributes, that are used
to set information about the assembly. Each attribute has an
assembly modifi er , shown in the following example:
< Assembly: AssemblyTitle("") >
All the attributes set within this fi le provide information that
is contained within the assembly metadata. The attributes
contained within the fi le are summarized in Table 1 - 3:
FIGURE 1 - 6
ATTRI BUTE DES CRI PT ION
Assembly Title This sets the name of the assembly, which appears within the
le properties of the compiled fi le as the description.
Assembly Description This attribute is used to provide a textual description of the
assembly, which is added to the Comments property for the fi le.
Assembly Company This sets the name of the company that produced the
assembly. The name set here appears within the Version tab
of the fi le properties.
Assembly Product This attribute sets the product name of the resulting
assembly. The product name appears within the Version tab
of the fi le properties.
Assembly Copyright The copyright information for the assembly. This value
appears on the Version tab of the fi le properties.
Assembly Trademark Used to assign any trademark information to the assembly. This
information appears on the Version tab of the fi le properties.
Assembly Version This attribute is used to set the version number of the assembly.
Assembly version numbers can be generated, which is the
default setting for .NET applications. This is covered in more
detail in Chapter 31.
TABLE 1-3:
Attributes of the AssemblyInfo.vb File
CH001.indd 16CH001.indd 16 4/5/10 11:56:29 AM4/5/10 11:56:29 AM