Right click your toolbox and choose Add/Remove Items. From the Customize
Toolbox dialog, select the COM tab. Locate your COM component, if it is
registered on the system, and choose Ok, The component should now appear in
your toolbox. .NET will create the necessary wrappers for you and you can
now use the component in your code.
If you do not see your component listed in the available components, choose
Browse to locate the item on your hard drive.
--
Gerry O'Brien
Visual Basic .NET MVP
"Andy" <a> wrote in message news:es**************@TK2MSFTNGP15.phx.gbl...
I have a simple atl com object which I created with visual C++.
In vb6 there was two ways to use this object. 1. I could add
it as a componenet, and then it appered on the toolbox, and
2. I could add it as a reference, and then use CreateObject
in runtime. Please explain how this has changed for .net.