I have created a custom control library with a control in it.
The control works fine.
Note: This is in Visual Studio 2005 using Visual Basic.
I can reference directly the resources and settings contained in the control library.
For example - Me.ForeColor = My.Settings.StdTextEditColor
The problem I am having is I want to reference (from the control in the control library) the resources and settings that reside in the project I am adding the control library to.
When the control library is added to a project - I do not want to reference the resources and settings contained in the custom control library.
For example I would like the control to reference My.Settings.StdTextEditColor in the project.
This would allow me control (for example) the help functions or the StdTextEditColor setting of the control from within the project.
rykk

custom control library references
csi_hugh
rykk,
According to your question, I suggest you to read an article titled How to make a UserControl object behave as a Design-Time control container by using Visual Basic .NET or Visual Basic 2005.
http://support.microsoft.com/default.aspx/kb/322222
After reading this article, if you have any problems on this issue, please reply me with the specific problem on your demand when you do the reference steps.
Jamie Thomson
The description in the article said this allowed the created control to have controls added to it when added to a project. This is good information I did not know and will be valuable.
I read the article and the adding the designer statement in case it would make a difference to the problem I have.
The control I have references for example
Me.ForeColor = My.Settings.StdTextDspColor
I would like the reference My.Settings.StdTextDspColor to reference the settings in the project the control is added to.
Or alternately I would like the correct way to accomplish this.
rykk