Mike,
As Dominique stated, move the "common" code to its own assembly and
reference this assembly.
Remember however to reference all the same assemblies that the upgrade
wizard added. Specifically Microsoft.VisualBasic.Compatibility.
However I would strongly recommend you Refactor (
http://www.refactoring.com)
your "common" code to not require the Microsoft.VisualBasic.Compatibility
assembly, as this assembly is not installed by default.
An alternative to a separate assembly is to "Link" to the file, when you use
"Project - Add Existing Item" click the down arrow next to the Open button,
select "Link file".
Hope this helps
Jay
"mike" <an*******@discussions.microsoft.com> wrote in message
news:0A**********************************@microsof t.com...
In my vb6 apps I have a set of standard modules that I include in all of
my applications. However, when I upgrade an existing application it creates
a copy of these modules in the application directory. The problem is that I
can't move these files to a standard location and then point all my apps to
this location. I've looked on different newsgroups and the closest solution
I have found is to use inheritance. This solution works for using a
standard form over and over again, but does not seem to work well when you
have standard modules that you are wanting to use over and over again. Any
suggestions?