problems accessing classes in a sub-folder (VB.NET 2.0)

T

Tim_Mac

hi,
i have an aspx page, which loads a user control dynamically. (by the
way i don't have any problems using namespaces in C# web projects, this
seems to be just a VB thing).

the user control is in a sub-directory, and i cannot refer to the type
of the control to access its properties and methods. when i move the
control to the root directory then it works fine. this happens without
any use of namespaces.

i tried adding specified namespaces to the page and usercontrol it
still doesn't work, i cannot even import the user control namespace
from within the code behind of the page. all the classes are marked
public, and i have tried all sorts of combinations with the same
namespaces, different namespace for the subfolder etc. but it always
ends up the same. when i recompile the project, it says "Type 'xyz' is
not defined".

any ideas why this is so unreasonably difficult?
thanks
tim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top