Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing user-defined NameSpace
Message
From
09/07/2010 17:32:35
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
09/07/2010 17:02:26
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01472074
Message ID:
01472088
Views:
41
>>>Hi All,
>>>
>>>I have done this a few times before, but each time I do, I have to search and learn it again.
>>>
>>>I am attempting to create a NameSpace in VB.Net. I create a new Class item. In it, I add...
>>>
>>>
>>>Namespace Test
>>>    Public class Test
>>>        Public Sub Test()
>>>            ...
>>>        end public
>>>    end class
>>>end NameSpace
>>>
>>>
>>>Then in another part of the project, I add the line
>>>
>>>Imports Test.Test
>>>
>>
>>
>>It should be:
>>
>>Imports Test
>>
>>
>>The class name isn't included in the Imports.
>
>That makes sense.
>
>Ok, tried it. Get the same result. The Imports line states that it can not see the Namespace.

Make sure you have built the project so the namespace and class would be available in the assembly.
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform