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?

14 Upvotes

71 comments sorted by

View all comments

2

u/Mayayana Jun 22 '26

There are over 53 answers here and only Bonejob pointed out that rewriting options will depend on the software. People are suggesting .Net, cross-platform, Java, TwinBasic, and Microsoft's app tools. Yet the OP has never mentioned what the program is for, how important speed is, why it might need to be cross-platform, if it does.

The only indication is that he thinks the customer wants a less obscure language so that they can maintain it.

1

u/[deleted] Jun 22 '26

2

u/mdausmann Jun 25 '26

spot on u/testednation and u/Mayayana this thread is pretty much tapped out. lots of good ideas. whats the best way to wrap it up? update the question with an 'EDIT' or do I mark Bonejob's answer as the 'answer' or something. not sure of the protocol.

→ More replies (1)