If you've referenced the dll for the class library, then just add the Imports
statement to the module or class in which you want to use the library
classes. Then:
dim myClass as New Class A, etc.
However, unless your classes in the Class Library are really tested and
won't need and changes, the easiest way is to add the Class Library project
to your solution in which you will use the Class Library. That way, you can
easily change any of the classes in the class library and/or add to it
quickly within your solution.
--
Dennis in Houston
"yxq" wrote:
Hello,
I writed some classes(but not a class) in a ClassLibrary and builded a
test.dll file, but how to invoke the test.dll?
'test.dll//////////////////////
Moudle MyTest
Public class A
...
End Class
Public class B
...
End Class
Public class C
...
End Class
End Module
I have referenced the test.dll in my new project, but do not know how to use
Class A, B, C.
Thank you