user1291401
user1291401

Reputation: 264

How do i add reference to Visual Basic power packs in Windows Form C#

I have installed Visual Basic Power packs package and want to reference the VisualBasic.PowerPacks dll but it is not visible. Using VS 2012 version.

Thanks

Upvotes: 0

Views: 15662

Answers (2)

Jeff
Jeff

Reputation: 165

The DLL is located here: C:\Program Files (x86)\Microsoft Visual Basic 2005 Power Packs\3.0

DLL Name: Microsoft.VisualBasic.PowerPacks.dll

Instructions to add reference:

  1. Right-click References
  2. Click Add Reference
  3. Click Browse at the bottom
  4. Select the DLL file.

Upvotes: 3

Shaharyar
Shaharyar

Reputation: 12449

Simple and easy way to reference a dll is:

  1. In Solution Explorer, select the project.
  2. On the Project menu, click Add Reference. The Add Reference dialog box opens.
  3. Select the tab indicating the type of component you want to reference. In your case, you will have to select COM tab.

An article on MSDN to include installed libraries.

Upvotes: 2

Related Questions