473,405 Members | 2,349 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,405 software developers and data experts.

How to add a class library to an existing Windows application?

Hello

Using VS 2005 VB.net when a class library gets created you can right click
the project and add a Windows Application and then set it as the "startup
project" then in the Windows application you can add a reference to that
class library in the project by right clicking the Windows Application and
selecting "Add Reference" and you will see the project under the "Projects"
tab and add the project containing its class library to the Windows
application and the application will work.

However if you have an existing Windows Application and you right click it
and select "Add Reference" there won't be a Project with its class library in
the "Projects" tab, even if you browse for one all you will see are the
folders that contain projects. So the question is if you have an existing
Windows application:

How do you add an existing Project with its class library to an existing
Windows Application instead of adding a Windows Application to a existing
class library?
Sep 20 '07 #1
1 3933
"winlin" <wi****@verizon.comschrieb
Hello

Using VS 2005 VB.net when a class library gets created you can right
click the project and add a Windows Application and then set it as
the "startup project" then in the Windows application you can add a
reference to that class library in the project by right clicking the
Windows Application and selecting "Add Reference" and you will see
the project under the "Projects" tab and add the project containing
its class library to the Windows application and the application
will work.

However if you have an existing Windows Application and you right
click it and select "Add Reference" there won't be a Project with
its class library in the "Projects" tab, even if you browse for one
all you will see are the folders that contain projects. So the
question is if you have an existing Windows application:

How do you add an existing Project with its class library to an
existing Windows Application instead of adding a Windows Application
to a existing class library?
Menu File -Add -Existing project

?
Armin
Sep 20 '07 #2

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

Similar topics

1
by: Bartlomiej Borowicz | last post by:
of course a read instrucitio and i did everythink, but i still can't use that library :( --- Setting up Dev-C++ to build Allegro Some people prefer to use the Dev-C++ distribution to make...
6
by: Patrick | last post by:
Following earlier discussions about invoking a .NET class library via ..NET-COM Interop (using regasm /tlb) at...
7
by: Sonny | last post by:
I need to port a library that is written entirely in C to C++. The library is supported on quite a few platforms (windows, Solaris, Linux, AIX, HP-UX, OSX, etc...) and there's quite an existing...
16
by: Randy Yates | last post by:
I have an Access database that has been running fine on multiple platforms (Windows 2000, Windows XP, etc.) for several years. Recently, the database has begun to issue "Run-Time Error 2467" on...
7
by: TJ | last post by:
In C# how do you achieve pass-by-reference property declarations in the Type Library? I am writing a COM Class Library that must mimick an existing library for which the only information is the...
2
by: Ben Finney | last post by:
Howdy all, I'm trying to implement some new functionality for an existing PHP web application. Rather than writing a whole lot of stuff in PHP, and looking toward a future when more of the...
0
by: James MA | last post by:
I'm going to develop a common library for applications in both Windows and Windows Mobile, this library will contain the bussiness rule only, which only contain some simply mathematics, and it...
5
by: Preben Zacho | last post by:
Anyone that has a link or description that simply as possible shows how to add a web reference to a class library in C# and consuming it? TIA PZ
2
by: mma | last post by:
hello everyone, i have a solution that contains the following project types: 1. Class library contains a singleton class that handles the data access (sql server 2005). 2. Windows service....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.