com interop C# VB6

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: JerryP (jerryp_vienna_at_hotmail.com)
Date: 10/28/04


Date: Thu, 28 Oct 2004 15:22:50 +0200

Hi Group,

we have some VB6 DLLs that we need to use from C#, they are all binary
compatible. we needed to add some methods and properties - and recompiled
them - still binary compatible - no problem. but when we now try to compile
the c# projects they fail - invalid reference and the changed VB6 DLLs are
marked in the solution explorer.

is there a way to modify the c# project automatically with the new
references - (create the new com wrapper - modify the reference in the
project and compile) ?

any other hints ?

thanks

Jerry