Project Properties for Visual Basic 6.0 Users
Project properties in both Visual Basic 6.0 and Visual Basic 2008 specify various global settings for a project; many of the project properties differ between Visual Basic 6.0 and Visual Basic 2008.
Conceptual Differences
In Visual Basic 6.0, project properties are set in the Project Properties dialog box.
In Visual Basic 2008, project properties are set in the Project Designer. For more information, see Introduction to the Project Designer.
ActiveX Component Properties
In Visual Basic 6.0, there are several properties related to ActiveX components, including Unattended Execution, Threading Model, Require License Key, Retain in Memory, Start Mode, Remote Server, and Version Compatibility.
In Visual Basic 2008, the model for creating components is considerably different, and there are no direct equivalents for these project properties. For more information, see Component Authoring for Visual Basic 6.0 Users.
Upgrade ActiveX Controls Property
In Visual Basic 6.0, the Upgrade ActiveX Controls project property automatically updates any ActiveX controls if you have installed a newer version of them on your machine since the last time you opened the project.
In Visual Basic 2008, although you can use ActiveX controls, there is no equivalent for this property. The project will use the version of the ActiveX control that you referenced when you added it to the project.
Remove information about Unused ActiveX Controls Property
In Visual Basic 6.0, the Remove information about Unused ActiveX Controls project property strips out references to unused controls before compiling.
In Visual Basic 2008, there is no equivalent; unused controls are never compiled.
Compiler Optimizations
Although both Visual Basic 6.0 and Visual Basic 2008 support compiler optimizations, the compilers, and therefore the available optimizations, are different. For more information, see Visual Basic Compiler.
Visual Basic 2008 compiler optimizations are set in the Advanced Compiler Settings dialog box, accessible from the Compile tab of the Project Designer.
Project Property Equivalencies
The following list provides a comparison of Visual Basic 6.0 and Visual Basic 2008 project properties. Information on where to find the Visual Basic 2008 project properties is indented under each property name Notice that not all properties are available for all project types.
Visual Basic 6.0 |
Visual Basic 2008 |
---|---|
Auto Increment |
Automatically increment revision with each publish Publish tab of the Project Designer. |
Command Line Arguments |
Command line arguments Debug tab of the Project Designer. |
Compile options |
New implementation. For more information, see Visual Basic Compiler. |
Conditional Compilation Arguments |
Compilation Constants Advanced Compiler Settings dialog box, accessible from the Compile tab of the Project Designer. |
DLL Base Address |
DLL base address Advanced Compiler Settings dialog box, accessible from the Compile tab of the Project Designer. |
Help File Name |
New implementation. For more information, see Help Support for Visual Basic 6.0 Users. |
Icon |
Icon Application tab of the Project Designer. |
Project Description |
Description—Assembly Information dialog box, accessible from the Application tab of the Project Designer. |
Project Help Context ID |
New implementation. For more information, see Help Support for Visual Basic 6.0 Users. |
Project Name |
Assembly name Application tab of the Project Designer. |
Project Type |
Application type Application tab of the Project Designer. |
Remote Server |
No equivalent. |
Remove information about Unused ActiveX Controls |
No equivalent. |
Require License Key |
No equivalent. |
Retained In Memory |
No equivalent. |
Start Mode (components) |
No equivalent. |
Startup Object |
Startup form, Startup object Application tab of the Project Designer |
Threading Model |
No equivalent. |
Title |
Title Assembly Information dialog box, accessible from the Application tab of the Project Designer. |
Unattended Execution |
No equivalent. |
Upgrade ActiveX Controls |
No equivalent. |
Version Compatibility |
No equivalent. |
Version Information |
Company, Product, Copyright, Trademark Assembly Information dialog box, accessible from the Application tab of the Project Designer. |
Version Number |
Assembly Version Assembly Information dialog box, accessible from the Application tab of the Project Designer. |
When this project starts |
Start Action Debug tab of the Project Designer |
See Also
Concepts
Component Authoring for Visual Basic 6.0 Users