General Tab (Project Properties Dialog Box)

   

Specifies the settings for the current Visual Basic project. The name of the project is displayed in the title bar.

Tab Options

Project Type

Sets the project type. You can change any project type to another project type. When you change a project type, all associated changes are made automatically. If items are invalid in the new project type, they remain part of the project but you cannot add new instances. If you have properties in the current project that are not valid in the new project, you will get a message suggesting that you do not make the change.

Startup Object

Sets which form or Sub/Main in the current project runs first.

Project Name

Identifies your component in the Windows Registry and the Object Browser. It is important that it has a unique name.

The project name is the name of the type library for your component. The type library, or TypeLib, contains the description of the objects and interfaces provided by your component.

It is also used to qualify the names of classes. A combination of project name and class name is sometimes referred to as a fully qualified class name, or as a programmatic ID. The fully qualified class name may be required to correctly identify an object as belonging to your component.

Help File Name

Displays the name of the Help file associated with the project.

Project Help Context ID

Lists the context ID for the specific Help topic to be called when the user selects the button while the application’s object library is selected in the Object Browser.

Project Description

Sets the descriptive text that is displayed in the Description pane at the bottom of the Object Browser.

You can use the Project Description as the description for ActiveX components. If you are creating an ActiveX control, it is the text that appears in the Components dialog box.

If you are creating an ActiveX.dll or ActiveX.exe, this text appears in the References dialog box.

Unattended Execution

Indicates that the project is intended to run without user interaction. Unattended projects have no interface elements. Any run-time functions such as messages that normally result in user interaction are written to an event log.

Upgrade ActiveX Controls

When selected, the project automatically updates the ActiveX controls if you installed a newer version of them on your machine since the last time you opened the project. If a newer version of an ActiveX control is available and this option is not selected, a dialog box prompting you to upgrade the control appears. This option is selected by default.

Require License Key

Enables licensing for ActiveX Control projects (projects that compile to .ocx files), not to .exe or .dll files. A Visual Basic license file (*.vbl) will be created when you build the project. The *.vbl must be registered on the user’s machine for the components to be used in the design environment. The SetUp Wizard will build a setup program that properly registers the information in the *.vbl file on the end user's machine when that setup program is run.

Retained in Memory

Retains a project in memory. However, there is a performance cost: A project retained in memory is not unloaded until the process terminates.

Threading Model