Copying a project in VS .Net 2003 Pro

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi.
I have a Windows application developed with VB .Net 2003 and VS .NET 2003
Pro that is working fine.
Now I need to write another app which uses about 80% of the functionality,
forms and reports of the first application, so I want to copy the first one
to make only the necessary changes.
My question is what is the correct way for making this copy?

Thanks
 
Hi Salvador,

A) You can phyiscally copy the code, but then have to maintain any
changes twice (changes in each application)

B) If the code follows the rules of encapusulation (extendable,
flexable class structure), you could make a Dynamic Link Library (DLL)
object of the common code and add a reference to this code in each
program. Now if a change needs to be made to the common code (DLL) you
would make it once in the DLL.

Look up RegAsm.exe tool to register the DLL assemblies. also try

http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=617

I hope this helps.
 
Back
Top