Can ActiveX controls be used without adding them to the Toolbox?

R

Rob Richardson

Greetings!

I created a project that had to use ActiveX controls developed under Visual
Studio 6 or earlier. The VB .Net help files told me that I had to add them
to the toolbox before I could drop the controls onto my project's form. In
VB6, I would include those components in my project and icons for them would
show up in the toolbox when I was working on that project. If I changed to
a different project, those icons would not be there, since they would not be
listed in the second project's .vbp file.

Now I am creating a new VB .Net project from scratch, and I see that the
controls I used for my previous project are still in the toolbox! I don't
want them for this project. Why are they still here, and is it possible to
get rid of them for this project and still have them show up for the other
one?

Thanks very much!

Rob
 
A

Anand Balasubramanian

Hi ,
In .Net the problem occurs once you save your project and close the IDE
and re-open the IDE for another project. There is no straightforward way to
do what you want, but you might be able to do it using Macros for the IDE.
I do not have any samples unfortunately.

Anand Balasubramanian
Microsoft, Visual Basic .NET

This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only. Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top