How to declare a DLL in VB.Net

I've been sent a .Net 3.5 dll file that I need to reference and have the methods exposed in my VB.Net 2005 project.

I added the reference to my project (I did a Browse to this dll file since it's not GAC) and rebuilt my solutions and I see this dll listed in my setup program now, but I don't know how to get at the methods within my application code.

This dll file is in my debug\bin folder.

How do I declare this dll and get at the public methods within it??


I was expecting a class to be added to my project??
Who is Participating?
Fernando SotoConnect With a Mentor RetiredCommented:
Add an Import statement to the top of the code file that you will be using it in and the public methods will be available to you.
JMO9966Author Commented:
Thanks Fernando!
Fernando SotoRetiredCommented:
Not a problem, glad I was able to help.  ;=)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.