PC Review


Reply
Thread Tools Rate Thread

In any project, Can't we refer classes directly, (without addingphysically in the project)?

 
 
Rachana
Guest
Posts: n/a
 
      28th Mar 2008
Hi !
I am new to .net. Presently, Working in vb.net 1.1
i have Created one class project and one client project (2 separate
solutions)
In the client project , if I try to ' add reference' for class,
nothing is shown under project bar.
I have to cumpulsorily add class project into my client project (add
existing class), then only it shows class name under reference-
project
bar.
does it mean every time I have to add required no. of classes
physically, in any project? Then again give the reference of each?
Can't it directly refered without adding physically?

In Class project, I have used 'build Solution' from menu bar.
In Client project, I tried 'browse' option,too.
But it does not show class name untill physically added. ( file type:
component files)

What is the way to generate DLL?

Thanks,
Regards,
Rachana
 
Reply With Quote
 
 
 
 
EagleRed@HighFlyingBirds.com
Guest
Posts: n/a
 
      28th Mar 2008
You need to set a reference to the assembly containing the class. This will
allow you to set up a namespace in your client project and then you can
reference classes in the referenced assembly.

Eagle

"Rachana" wrote:

> Hi !
> I am new to .net. Presently, Working in vb.net 1.1
> i have Created one class project and one client project (2 separate
> solutions)
> In the client project , if I try to ' add reference' for class,
> nothing is shown under project bar.
> I have to cumpulsorily add class project into my client project (add
> existing class), then only it shows class name under reference-
> project
> bar.
> does it mean every time I have to add required no. of classes
> physically, in any project? Then again give the reference of each?
> Can't it directly refered without adding physically?
>
> In Class project, I have used 'build Solution' from menu bar.
> In Client project, I tried 'browse' option,too.
> But it does not show class name untill physically added. ( file type:
> component files)
>
> What is the way to generate DLL?
>
> Thanks,
> Regards,
> Rachana
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
In any project, Can't we refer classes directly, (without addingphysically in the project)? Rachana Microsoft VB .NET 9 31st Mar 2008 06:23 PM
The macros in this project are disabled. Please refer to the onlin =?Utf-8?B?amFqa2U=?= Microsoft Outlook Discussion 1 18th Nov 2006 07:37 PM
how do I refer to fields on a form in a query in an adp project? =?Utf-8?B?TWFnZ2ll?= Microsoft Access Queries 6 23rd Jun 2006 08:16 PM
Open an Existing Project (Remove a project from the project list) =?Utf-8?B?ZHJvb3Bl?= Microsoft Dot NET 1 19th Jan 2005 07:36 AM
How to refer a file under its project folder Peter Microsoft Dot NET 2 28th Dec 2003 09:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:48 AM.