Migrating from VB to VB.NET

InertiaM

Well-known member
Joined
Nov 3, 2007
Messages
663
Location
Kent, UK
Programming Experience
10+
Well, after many years of programming in VB, I have finally decided to take the plunge and move to VB.NET.

My first stumbling block appears to be with the huge number of classes that I have built up over the years. I reuse them in the many projects that I write, but every time I change them, they automatically update for all the other projects. When I tried to do this in VB.NET, it seems to import the class structure and not reference it - ie it creates a standalone copy. Is this correct, or am I missing something?

I'm sure I'll be back with other questions in the future :D
 
I've answered my own question!

When you go to "Add existing file", select the file (without double-clicking) and instead of pressing Open, use the dropdown at the side of the Open button to change it to "Link File". Seems to work anyway :)
 
You can also add your common classes to Class Library projects and reference the built dlls from development projects.
 
Back
Top