Using my own DLL in a new VB.NET project

I have made a DLL in VB.NET (class library), and wanted to use this DLL in a new VB.NET project. (VS 2005)

So i create a new project, and add a reference to the DLL.

The problem is, that i can't acces the methods or members of my class.

I switched to VB for a few weeks, and used to create my DLL's in C++, so that's why i don't know how to solve this one...

The DLL only consists of a few simple classes (members, properties and some basic methods).

Can anyone help me out here THX

Kenny


Answer this question

Using my own DLL in a new VB.NET project

  • DanSequel

    Make sure the classes in the class library are public

  • Bullfrog

    all the classes are declared public, so it's very strange the members and methods aren't accessible...


  • dana_lotus

    OK, i have corrected the problem: I was using the direct class name, but did not have an Import of the namespace :p

    What a rookie mistake =:-)

    Case closed

  • Using my own DLL in a new VB.NET project