karthik
karthik

Reputation: 4735

how to remove a referenced component in VB6.0 Project

Currently doing a VB 6.0 project,after registering few ocx files added the same in the projects initially and removed it later and done the above steps from a different location with the same ocx files.Now i am having two controls with same name present in the component dialog, want remove the unwanted reference how to do it.please help me out

Upvotes: 1

Views: 3591

Answers (2)

Krzysztof Abram
Krzysztof Abram

Reputation: 46

I got a similar issue and after a few hours of digging in, I found out a solution. You need to go to Regedit and find by name your dll. Visual Basic 6.0 IDE registers it in the registry so it's not possible to remove it from IDE UI. After removing key in Regedit and restarting IDE, unwanted reference disappeared.

Upvotes: 0

Dabblernl
Dabblernl

Reputation: 16121

Usually the components appear after adding a reference throught Project->References. You can surely google wich dll is associated with which ocx.

Upvotes: 1

Related Questions