The Xceed Component Installer will copy all the necessary files into the product's installation folder (usually in <Installation Folder>\Xceed Components\Bin\.NET) and place a copy of all the assemblies (Xceed.FileSystem.dll, Xceed.Zip.dll, Xceed.Compression.dll, Xceed.Tar.dll, Xceed.Gzip.dll, and Xceed.Ftp.dll) in the . The only thing left to do in order to begin using Xceed's components is to add the appropriate assemblies to your project, make sure the CopyLocal property of each reference is set to "true" if using a Compact Framework version, and license the product for runtime use. To do this, perform the following steps:
-
Start Visual Studio 2005
-
On the Start Page, click on the "Project..." link next to "Create:". This can also be done by selecting the "File\New\Project" menu item.
-
Under "Project types", select "Visual Basic > Windows".
-
In the "Templates" section, select the type of application you want to create. If you are using one of Xceed's Compact Framework components, choose Smart Device Application.
-
Enter the name of the project you want to create and the location where it will be created.
-
Click on the "OK" button.
You are now ready to add the necessary assemblies to your project.
-
To add references to the assemblies, select the "Add Reference" option from your "Project" menu. This can also be done by right-clicking on the "References" menu in the "Solution Explorer" and selecting the "Add Reference" option.
-
Select the ".NET" tab in the "Add Reference" dialog.
-
Select Xceed.FileSystem.dll. This assembly is necessary for both the Zip/compression and the FTP capabilities. If you need to use the Zip/compression capabilities, select Xceed.Zip.dll, as well as Xceed.Tar.dll and/or Xceed.Gzip.dll if you need Tar or GZip. If you need FTP capabilities, select the Xceed.Ftp.dll, Xceed.Compression.dll, and Xceed.Compression.Formats.dll assemblies. For streaming capabilities, select Xceed.Compression.dll. If the assemblies are not in the list of available components, you can browse for the assemblies (DLLs) through the "Browse" tab. You will need to browse for the DLLs if using a .NET Compact Framework product.
-
Once you have finished selecting the assemblies from the list, click on the "OK" button.
-
If you are using one Xceed's Compact Framework products, set the CopyLocal property of each reference to "true".
-
If you are using the PPMd compression method, Xceed.Compression.PPMd.dll must be referenced and its CopyLocal property set to "true".
Finally, you need to license the components for runtime use. Jump to the Licensing topic for detailed instructions.
You can then use Imports statement to create aliases for existing namespaces, and avoid having to type the fully qualified type names.
| VB.NET |
Copy Code |
Imports Xceed.FileSystem Imports Xceed.Zip Imports Xceed.Compression Imports Xceed.Compression.Formats Imports Xceed.Tar Imports Xceed.GZip Imports Xceed.FTP |
Note: This product is only compatible with .NET Framework 2.0. A version compatible with .NET Framework 1.1 is available for download on Xceed’s website (http://xceed.com), but future updates to the .NET 1.1 version will be limited to bugfixes. You cannot install different versions of the full package at the same time. However, if you need work with both .NET 2.0 and .NET 1.1 components, first install the .NET 2.0 package, then install the latest service pack for the .NET 1.1 versions and follow the included instructions.