A1VBCode Forums

User Defined Control - Adding to Components


http://www.a1vbcode.com/vbforums/Topic18646.aspx

By GGoldenborne - 5/11/2006

I am creating a user defined control and have been testing it, which requires adding it to the components list, which I do as follows:

Project --> Components... --> "Browse..." button on "Controls" tab --> "Add ActiveX Control" dialog

The .ocx resides in the folder where I am creating the code.  It is not registered.  I add the component from the "Components" dialog window to my tools so I can put it on a form with other controls to test.  The testing is fine.  The problem is that every instance of me adding the control to the "Components" dialog remains in the list on the dialog.  How do I get rid of the old instances and how to I keep this from happening?

I'm new to this forum today.  I appreciate suggestions.  Thanks.

(I will post some other questions separately about this.)