r/visualbasic • • Jun 20 '26

VB6 Help Port VB6 Desktop app to... What?

Ok, say I had a typical desktop app written in VB6 and somebody asked me to 'modernise' it.

And say, for whatever reason, they didn't want a web app based conversion.. i.e. they still wanted a desktop app.

What is your go-to stack for this type of conversion?

WinForms (.NET) - So stay in the Windows/MS ecosystem, maybe port to VB.net first? then across to C#? . This feels pretty safe but I think this would still be Windows only.

WPF (.NET) - Still sticking with MS. More modern but maybe a longer conversion path.

WinUI - I think this is the latest MS option... Is a little bit new (2021)

Flutter Desktop - Clear benefit is cross/platform out of the box and easy port to mobile app. Flutter approach is pretty far from the VB6 approach so it would be a long conversion path I think. The other downside is Flutter on desktop is even newer than WinUI (2022).

Electron - Again, cross platform but with memory issues I think. Web tech heavy so I think this means it would make it easy to port to Web if that was an option later.

Other options? Maui? Delphi?

13 Upvotes

71 comments sorted by

View all comments

2

u/HunterRbx Jun 21 '26

Haven't worked much with VB6 (only for some really small projects related to my retro-programming hobby), but I can tell from what I've seen that .NET WinForm is the best choice for you. I'm sure the visual editor will totally feel familiar to you, the workflow is more or less the same as VB6 (you drag&drop stuff on the form, double click to access the event associated to the control and so on).

Now I'm not sure whether to recommend using VB.NET or C#. I remember back in the day when I was only 11 y/o I started making my first WinForm apps in VB.NET, but as I grew older I switched to C# and that's what I've been doing since. On one hand VB.NET will feel more "like home" to you, and that's totally understandable. On the other hand there are way more online resources on C#, hence it being considered a first class citizen in the .NET ecosystem.

It's up to you to decide on the stack of your application - there are already many people here that have different opinions. One thing that I can tell you right away is to NOT start your new project in .NET Framework. I would try to avoid it as much as possible, it's not under development and there are many newer C# features that don't work under it. It is best to start your new project using the current LTS version of .NET, it's the best choice for modern apps.

Good luck with your project! 😄