In addition, there is a difference in the way that NameSpaces are handled in
an assembly, depending upon what language you use to develop. In VB.Net, the
assembly name becomes the top-level NameSpace for the assembly, while in C#,
you define the NameSpace for the assembly in the code. So, if you put a
NameSpace into a VB.Net assembly, you're actually using a NameSpace that
resides UNDER the top-level NameSpace for that assembly.
If it gets confusing, and you're using Visual Studio.Net, you can use the
Class View to see the hierarchy of NameSpaces in your assemblies.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"Gary Vidal" <ga**@usballoon.net> wrote in message
news:eQ**************@TK2MSFTNGP10.phx.gbl...
You must add a reference to the assembly in your project prior to using an
imports statement.
"Joseph Cooper" <co******@hotmail.com> wrote in message
news:42**************************@posting.google.c om... I have created a few classes in a namespae for example Namespace
PageClassVB. However when I open up a Web page and type 'Imports
PageClassVB' the IDE shows an error as "Namespace or type
'PageClassVB' for the imports 'PageClassVB' cannnot be found". What
are the methods to refer to a namespace in another page?