The ComponentPro Component Installer copies all necessary files into the product's installation folder. The next step to do to begin using ComponentPro's components is to add the appropriate assemblies to your project. Follow the steps below to to this.
Creating a new VB.NET Project
- Start Visual Studio.
- Select File->New->Project.
- Under "Project Type", select "Visual Basic > Windows".
- Enter the name of the project you want to create and the location where it will be created.
- Click on the "OK" button to create.
Adding appropriates assemblies to your project
- Select the "Add Reference" option from your "Project" menu. This can also be done by opening the Project Property window, selecting the "References" tab and clicking on the "Add..." button.
- Select the ".NET" tab in the "Add Reference" dialog.
- Select ComponentPro.Mail.dll, ComponentPro.Network.dll, and ComponentPro.Common.dll from the list.
- Click on the "OK" button.
Now you can add using directives to your code to create aliases for existing namespaces and avoid having to type the fully qualified type names.
Imports ComponentPro.Net
Imports ComponentPro.Net.Mail