| C1WebFlash Class Overview > Getting Started with C1WebFlash > Adding the C1WebFlash Component to a Project |
When you install ComponentOne Studio for .NET 2.0, the Create a ComponentOne Visual Studio Toolbox Tab checkbox is checked, by default, in the installation wizard. When you open Visual Studio 2005, you will notice a ComponentOne Studio for ASP.NET 2.0 tab containing the ComponentOne controls has automatically been added to the Toolbox.
If you decide to uncheck the Create a ComponentOne Visual Studio Toolbox Tab checkbox during installation, you can manually add ComponentOne controls to the Toolbox at a later time.
WebFlash for ASP.NET provides the following control:
To use C1WebFlash, add the control to the form or add a reference to the C1.Web.C1Flash.2 assembly to your project.
When you install C1Flash, the following C1WebFlash component will appear in the Visual Studio Toolbox customization dialog box:
To manually add the C1WebFlash control to the Visual Studio Toolbox:

The Choose Toolbox Items dialog box opens.
At this point, you should also decide whether you want C1WebFlash to run from the GAC (Global Assembly Cache) or locally. If the installation program (or you) places a copy of the component in the GAC, that copy will be used by all applications that use the component. If the component is not installed in the GAC, Visual Studio will make a local copy of the required dlls into your application’s bin directory.
Using the GAC can save some disk space, but it also complicates deployment, because you will have to remember to install the components in the GAC on the server as well. In most cases, it is better to remove the component from the GAC and later use XCOPY deployment (the application folder will contain all the .dlls needed to run it). To remove the component from the GAC, open the WINDOWS\assembly folder and delete C1.Web.C1Flash.2 and C1.C1Flash.2 from it. For more details on the GAC, see the .NET documentation.
To add C1WebFlash to a form:
To add a reference to the C1WebFlash assembly:
Imports C1.Web.C1Flash
![]() |
Note: This makes the objects defined in the C1WebFlash assembly visible to the project. |