I created a class library (dll) that contains to classes. Each class has numerous public methods and properties. I compiled (built) the library and it reported no errors.
I then created a windows app to test the classes within the library (separate solution altogether - not within the same solution as the class library). Within the solutions explorer i added a reference to the class library. I first tried an "imports" statement. I entered imports and the intellisense immediately popped up showing all the references. I chose the library I had created. So far, so good.
I commented out the imports statement and within the forms1 class I attempted a declaration of a variable to one of the classes accessing a "new" sub.. I got no intellisense - um. strange; thought I'd get some there.
I then attempted to use the variable and immediately got an error stating the variable was not declared. Ah? I just declared it!
I pulled up the object browser and sure enuf, there, displayed in living color, were all the public methods, properties and variables.
So, what's the deal? Anyone have any idea? According to the books I've referenced, books online, and MSDN, this is a rather simple task and should work.
Ed.
I then created a windows app to test the classes within the library (separate solution altogether - not within the same solution as the class library). Within the solutions explorer i added a reference to the class library. I first tried an "imports" statement. I entered imports and the intellisense immediately popped up showing all the references. I chose the library I had created. So far, so good.
I commented out the imports statement and within the forms1 class I attempted a declaration of a variable to one of the classes accessing a "new" sub.. I got no intellisense - um. strange; thought I'd get some there.
I then attempted to use the variable and immediately got an error stating the variable was not declared. Ah? I just declared it!
I pulled up the object browser and sure enuf, there, displayed in living color, were all the public methods, properties and variables.
So, what's the deal? Anyone have any idea? According to the books I've referenced, books online, and MSDN, this is a rather simple task and should work.
Ed.