|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Can't add a reference to the specified file.In VB 2005 I created Windows Class Library with a single class, put a check
mark at Register for COM interop, compiled it. When I'm trying to add a reference to this dll in VB6 project I get an error 'Can't add a reference to the specified file'. What am I missing. My goal is to use this dll with both VB2005 and VB6 Thank you Al "Al" <a*@newsgroups.com> schrieb: Checking the option "Register for COM interop" will create a TLB file for > In VB 2005 I created Windows Class Library with a single class, put a > check mark at Register for COM interop, compiled it. When I'm trying to > add a reference to this dll in VB6 project I get an error 'Can't add a > reference to the specified file'. the DLL. Instead of referencing the DLL file, reference the TLB file from within the VB6 project. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
TableAdapters and true N-Tier
dotnet security exception issues Newbie Question about Value and Reference Types Addhandler with parameter ? Newbie: Examples of ExecuteNonQuery VB2005 structures to file Dragging Borderless Forms How I generate a tone programatically without resorting to playing a file such as MP3, WAV, etc.? temp directory Off topic--best place to ask a question |
|||||||||||||||||||||||