My first Class Libary

T

Tom Edelbrok

I am creating a class libary of VB.Net utilities that will be built into a
DLL. This DLL can be used by our development VB.NET programs when they want
to call standard in-house utilities.

I create the class libary MYCLASSLIBRARY.VB by inserting a whole bunch of
classes, ie:

public class class1
end class
public class class2
end class

And so on. I then build it into a DLL. However, when I include a reference
to this DLL in a separate VB.NET project, only the very first class defined
in the class libary becomes known within the project. All other classes in
the class libary are unknown. (Note: I use "IMPORTS MYCLASSLIBARY" in the
project, so wouldn't everything in the class libary be known?).

Any ideas?

Thanks in advance,

Tom Edelbrok
 
T

Tom Edelbrok

Figured it out. I didn't use "IMPORTS MYCLASSLIBRARY" at the head of each
file that calls any of the classes within the library.

Tom
 

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

Top