Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Namespaces and Imported Namespaces
Message
From
22/04/2007 12:32:48
 
 
To
19/04/2007 11:32:51
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01217857
Message ID:
01218684
Views:
18
I'm not sure how different VB is to C# in this respect, but since you were able to add the reference to Membership.library to your WindowsUI project, can't you simply use the Import statement in your code?
Import Membership.library
This would be similar to C#'s using statement:
using Membership.library;
As soon as I type "Membership." then Intellisense should show me the "library" as long as I have added the reference to the project.

I guess my reply doesn't really help you at all, since I don't use VB, but I guess I'm mainly trying to get you to explain a bit more what you're seeing and/or not seeing so someone else with some VB knowledge might kick in an answer.

~~Bonnie



>Hi,
>
>in my first foray into developing with .NET I have created a Solution with two Projects in it. The first project is called Membership.library and has my Business Objects in it. The second Project is called Membership.WindowsUI and is the Windows User Interface .
>
>In the WindowsUI project I have added a project reference to the Membership.library. I want to also Import the namespace from this project, so I have looked in the Imported Namespaces section on the References tab, but do not see Membership.Library as a namespace. I do however see Membership as a name space. I double checked in the Application tab for Membership.library and the root namespace given there is Membership.library.
>
>How come I only see a Membership namespace to import not Membership.library?
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform