By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,078 Members | 2,159 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,078 IT Pros & Developers. It's quick & easy.

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

P: n/a
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

Apr 12 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.