You can convert classes from your own projects into reusable components. The Gallery stores such classes as user-defined components (.OGX files).
To add a class to the Gallery
If you have more than one project loaded in the workspace, select the appropriate project: On the Project menu, point to Set Active Project, and click the name.
Default Gallery folders are located in:
\Program Files\Microsoft Visual Studio\Common\MSDEV98\Gallery
In the Gallery, you can rename, move, or copy user-defined components by right-clicking on them and selecting the appropriate command from the shortcut menu.
It is recommended that you not move user-defined components (.OGX file) to the default Gallery folders (Registered ActiveX Controls and Visual C++ Components).