Classes and modules
I recently wrote a class and a module (in separate VB files) and used them in a VB project. Now I am writing an ASP.Net application, and would like to include the class and module files in the ASP.Net application. However, the main code can't recognize the class or the module. Is there something I'm leaving out?
[323 byte] By [
bsaucer] at [2007-11-20 6:14:57]

# 1 Re: Classes and modules
what are you trying exactly?
all you should have to do is add the class to the solution, and maybe change the namespace for it. Should work. What have you tried to do?
mcm
mcmcom at 2007-11-9 11:52:39 >

# 3 Re: Classes and modules
I have the class and two modules as .vb files in the project. The class and the first module are supposed to work together. The second module comtains methods which make use of the class and first module. The main codebehind file calls the method in the second module.
I had used the class and two modules in a VB forms application and they all worked fine. But when I put them in the web application, the files can't "see" each other. They have underlined references which are "undefined". I've tried using "imports" and putting namespaces on the class and modules, but that doesn't help. These were not necessary in the VB forms app.
# 4 Re: Classes and modules
I guess you haven't read my previous post. We need some code, an exact error message and any other information that you might have.
This way it will become easier to help.