Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 5th, 2008, 12:53 PM
Registered User
Join Date: Oct 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trouble referencing a DLL in VS2005


I've been asked to write VB.net code for working with Windows Address Book WAB files (VCard) (please don't ask why!) In order to access the IWABObject interface, the file wab32.dll needs referencing.

However when attempting to add the reference VS2005 comes up with:

A reference to '<path>wab32.dll' could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.

This is because the DLL is pre-.NET unmanaged code. I've tried moving the DLL to the project's \bin folder, creating an interop assembly using tlbimp.exe (nothing gets created), but with no joy.

Can anyone help?


Simon G

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install problems - VS 6.0 on XP SCRRUN.DLL PDM.DLL jeff4444 Visual C++ 0 December 6th, 2006 08:48 PM
call dll in VS2005 khanhnguyen99 Pro Visual Basic 2005 1 May 29th, 2006 05:06 AM
error while referencing system.windows.forms.dll swati_joshi ASP.NET 1.0 and 1.1 Basics 1 March 28th, 2006 03:11 PM
Referencing a spreadsheet from an ActiveX DLL James Diamond Excel VBA 2 January 23rd, 2004 07:21 AM
Referencing an ActiveX DLL from Excel james gold Excel VBA 1 September 10th, 2003 10:41 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.