Click here to Skip to main content
15,666,926 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
AnswerRe: Migrating VB6 applications to .NET? Pin
Southmountain30-Mar-23 6:05
Southmountain30-Mar-23 6:05 
AnswerRe: Migrating VB6 applications to .NET? PinPopular
Member 1596677130-Mar-23 20:40
Member 1596677130-Mar-23 20:40 
GeneralRe: Migrating VB6 applications to .NET? Pin
MikeCO1031-Mar-23 2:58
MikeCO1031-Mar-23 2:58 
GeneralRe: Migrating VB6 applications to .NET? Pin
Sander Rossel31-Mar-23 4:06
professionalSander Rossel31-Mar-23 4:06 
AnswerRe: Migrating VB6 applications to .NET? Pin
Stepan Hakobyan30-Mar-23 21:19
professionalStepan Hakobyan30-Mar-23 21:19 
AnswerRe: Migrating VB6 applications to .NET? Pin
Member 1396586630-Mar-23 23:15
Member 1396586630-Mar-23 23:15 
GeneralRe: Migrating VB6 applications to .NET? Pin
Sander Rossel31-Mar-23 4:00
professionalSander Rossel31-Mar-23 4:00 
AnswerRe: Migrating VB6 applications to .NET? Pin
MSBassSinger31-Mar-23 1:17
professionalMSBassSinger31-Mar-23 1:17 
I have done this before, and how well it goes depends a lot on how good an engineer the person doing the conversion is.

Put enough time and planning into the design you want to go to. Use value engineering to determine what has the most value in the conversion process.

Don’t just replicate how the business rules are implemented. Migrate them using newer features where there is value in doing so.

The more the VB code used OO techniques (available in VB4 - VB6), the easier your job will be. Don’t try to replicate VB procedural programming design in C#.

Are your users desktop or browser? Determine the relative SDLC costs between WinForms and Blazor. Development time is less and performance is better with WinForms than any web-based GUI, but deployment costs may be higher. If you choose a web-based GUI, go with Blazor, not the Javascript-based approach. You’ll have less development time, better performance, and fewer headaches.

Don’t farm out the work to consultants, H1-B developers, or offshore developers. The end result will need a lot of repair and be more expensive to maintain.

Make sure to use someone in-house who is experienced in VB6 and in C#/.NET. A successful port will depend on deeply understanding both.

One last thing - VB6 can host C# DLLs, including user controls for the VB6 GUI, all written in pure C#, using COM Interop. I did this a while back and it works beautifully if the developer understands both C# COM Interop and how VB6 recognizes classes, interfaces, and events. That allowed us to migrate the app from VB6 to fully C# piece by piece, without wasted code.

Best of luck to you!
GeneralRe: Migrating VB6 applications to .NET? Pin
Sander Rossel31-Mar-23 3:59
professionalSander Rossel31-Mar-23 3:59 
AnswerRe: Migrating VB6 applications to .NET? Pin
Member 1068017931-Mar-23 2:20
Member 1068017931-Mar-23 2:20 
GeneralRe: Migrating VB6 applications to .NET? Pin
KLPounds31-Mar-23 3:09
KLPounds31-Mar-23 3:09 
AnswerRe: Migrating VB6 applications to .NET? Pin
MikeCO1031-Mar-23 2:22
MikeCO1031-Mar-23 2:22 
AnswerRe: Migrating VB6 applications to .NET? Pin
robertburgh31-Mar-23 2:29
robertburgh31-Mar-23 2:29 
AnswerRe: Migrating VB6 applications to .NET? Pin
JohnDG5231-Mar-23 2:58
JohnDG5231-Mar-23 2:58 
AnswerRe: Migrating VB6 applications to .NET? Pin
agolddog31-Mar-23 3:51
agolddog31-Mar-23 3:51 
GeneralRe: Migrating VB6 applications to .NET? Pin
Sander Rossel31-Mar-23 4:08
professionalSander Rossel31-Mar-23 4:08 
AnswerRe: Migrating VB6 applications to .NET? Pin
Tyler Evensen31-Mar-23 4:41
Tyler Evensen31-Mar-23 4:41 
GeneralRe: Migrating VB6 applications to .NET? Pin
Sander Rossel31-Mar-23 5:06
professionalSander Rossel31-Mar-23 5:06 
AnswerRe: Migrating VB6 applications to .NET? Pin
Craig P Williams Sr31-Mar-23 6:16
professionalCraig P Williams Sr31-Mar-23 6:16 
AnswerRe: Migrating VB6 applications to .NET? Pin
Choroid31-Mar-23 6:24
Choroid31-Mar-23 6:24 
AnswerRe: Migrating VB6 applications to .NET? Pin
mdowd6531-Mar-23 8:04
mdowd6531-Mar-23 8:04 
AnswerRe: Migrating VB6 applications to .NET? Pin
Zane Kurtz31-Mar-23 8:24
Zane Kurtz31-Mar-23 8:24 
AnswerRe: Migrating VB6 applications to .NET? Pin
m8e31-Mar-23 18:19
m8e31-Mar-23 18:19 
AnswerRe: Migrating VB6 applications to .NET? Pin
kentgorrell25-Apr-23 21:39
professionalkentgorrell25-Apr-23 21:39 
AnswerRe: Migrating VB6 applications to .NET? Pin
Thomas Krojer2-May-23 3:13
Thomas Krojer2-May-23 3:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.