miplz
miplz

Reputation: 11

How to link .dll into visual studio 2008?

I'm doing VB coding using Visual Studio 2008. How to import a .dll file into my program? Can anyone help me please.

Thank you.

Upvotes: 1

Views: 5644

Answers (2)

NoAlias
NoAlias

Reputation: 9193

  1. Add the reference (From your menu Project->Add Reference and browse for the dll file)
    1. Put Imports DLL.Namespace at the top of your code.

Upvotes: 5

Matt
Matt

Reputation: 4117

You need to add a reference to the DLL...

  • Right click references in the project explorer

  • Click on the browse tab

  • Browse to your dll

  • Add a using statement in your code which points to said DLL

Upvotes: 0

Related Questions