473,387 Members | 1,517 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Control Development

I developed a control and a component. My control uses my component. I have
a test application and when I add my control to a form in the test
application, my control's dll is automatically added to my test projects
references list. But I need to add my component's dll to be added to
reference list as well. How can I do this? Thanks.
Nov 20 '05 #1
5 1156
Hello,

"The_Boss" <ya***@ceyyav.com> schrieb:
I developed a control and a component. My control uses my
component. I have a test application and when I add my
control to a form in the test application, my control's dll
is automatically added to my test projects references list.
But I need to add my component's dll to be added to
reference list as well. How can I do this? Thanks.


I think I don't really understand what's your problem. Select the
"References" folder in the project explorer and choose "Add reference..."
from its context menu. There you can add a reference to your "component".

Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 20 '05 #2
My problem is,
when I add my control to control toolbar and drag drop it to the surface of
a form,
VS IDE automatically adds my controls dll in to the projects references
list. But my control uses an other dll as dependent and VS IDE doesn't add
that dll to references automatically. I should add it manually. I saw some
controls doing this. And I need same thing.
Thanks.

"Herfried K. Wagner [MVP]" <hi*******@m.activevb.de> wrote in message
news:Oi**************@TK2MSFTNGP12.phx.gbl...
Hello,

"The_Boss" <ya***@ceyyav.com> schrieb:
I developed a control and a component. My control uses my
component. I have a test application and when I add my
control to a form in the test application, my control's dll
is automatically added to my test projects references list.
But I need to add my component's dll to be added to
reference list as well. How can I do this? Thanks.


I think I don't really understand what's your problem. Select the
"References" folder in the project explorer and choose "Add reference..."
from its context menu. There you can add a reference to your "component".

Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet

Nov 20 '05 #3
Hello,

"The_Boss" <ya***@ceyyav.com> schrieb:
when I add my control to control toolbar and drag drop it to the surface of a form,
VS IDE automatically adds my controls dll in to the projects references
list. But my control uses an other dll as dependent and VS IDE doesn't add
that dll to references automatically. I should add it manually. I saw some
controls doing this. And I need same thing.


What do you need? Should the reference be added automatically or do you have
problems adding the reference manually?

Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 20 '05 #4
The reference should be added automatically.

"Herfried K. Wagner [MVP]" <hi*******@m.activevb.de> wrote in message
news:er**************@TK2MSFTNGP10.phx.gbl...
Hello,

"The_Boss" <ya***@ceyyav.com> schrieb:
when I add my control to control toolbar and drag drop it to the surface of
a form,
VS IDE automatically adds my controls dll in to the projects references
list. But my control uses an other dll as dependent and VS IDE doesn't add that dll to references automatically. I should add it manually. I saw some controls doing this. And I need same thing.


What do you need? Should the reference be added automatically or do you

have problems adding the reference manually?

Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet

Nov 20 '05 #5
Hi TB,

It may be that the Controls that you have seen have some Designer-time
code. I guess that they'd handle the Dropped-On-A-Form event (if there is one)
and use a bit of IDE functionality to add a reference to the Project.

Have a read of the help on the IDE Object Model and Add-Ins, and on
design-time programming.

I've never done it, which is why the details are all so vague.

Regards,
Fergus
Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: denasinc | last post by:
Our first real production experience with Source Control came a year ago when we started to cooperate in software development with two other outsourcing companies – one of them is located in...
7
by: Jacky Luk | last post by:
Does anyone know of a downloadable Line ActiveX control which allows me to plot straight lines on a VC++.NET form? Thanks Jack
11
by: Brian W | last post by:
Yet another editor problem To reproduce do the following 1) Open a Webform and switch to HTML edit mode 2) Enter the Following (include spaces) This is some text before <asp:hyperlink...
0
by: Fred G. Sanford | last post by:
Firstly, I am a fairly new .Net developer, so please excuse any dumb/ignorant questions or comments. Thanks. I created a VWD Express project, which uses the ReportViewer control, on my local...
12
by: lawpoop | last post by:
I'm developing a php website that I have under subversion version control. I'm working on an image upload functionality, and in the middle of it I realized that any files that a user uploads will...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.