Sounds like you're using Visual Studio.Net. If so, take a look at the tab
under the "Solution Explorer" tab, which is usually the "Class View" tab. It
shows a hierarchical representation of your namespaces and classes. I would
strongly suspect that, as you are using VB. your top-level NameSpace for
your class is "class1" and that your reference to it should be
"class1.HelloWorld". By default, Visual Studio.Net, when working with VB.Net
projects, will name the top-level NameSpace for that project with the name
of the project/dll, and it will not appear in the code, but in the Project
Properties.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"vengala s reddy" <re******@yahoo.com> wrote in message
news:b9**************************@posting.google.c om...
i created a class1.vb, created a class1.dll.
now i moved it to \bin directory.
and to webconfig file i added
<compilation>
<add assembley="*"/>
</compilation>
Now i am trying to use it it in test.aspx
<%@ Import Namespace="HelloWorld" %>
ERROR GOES LIKE THIS
Compiler Error Message: BC30466: Namespace or type 'HelloWorld' for
the Imports 'HelloWorld' cannot be found.
Source Error:
Line 12: Option Explicit On
Line 13:
Line 14: Imports HelloWorld
Line 15: Imports Microsoft.VisualBasic
Line 16: Imports System
I NEED YOUR HELP. THX