Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Namespaces and Imported Namespaces
Message
From
24/04/2007 08:24:58
 
 
To
23/04/2007 14:28:32
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01217857
Message ID:
01219268
Views:
16
When I right click on My Project, all I get is "Open" which then takes me to the same place that I've been setting the Imported namespaces.

Hmm... I scrolled down through the list again and now I am seeing Membership.library (as well as Membership). I must have a hole in my eye!

Sorry to waste any body's time on this.

>In 1.1 I can right click on my project and go to properties. In there is an Imports tab, and I think that is where you can set a project wide import. I haven't done it with a custom namespace but I assume it will work.
>
>>Hi Bonnie,
>>
>>I was trying to set a project wide imports statement so that I don't have to add Imports Membership.Library in each program I work on. Everything seems to be fine, I'm just trying to understand why Membership shows up in the list of namespaces to import rather than Membership.library.
>>
>>>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?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Reply
Map
View

Click here to load this message in the networking platform