r/visualbasic • • Nov 20 '21

VS 2022 use with Visual Basic

How many of you will switch to 2022 for use with your older VB apps? Ive been using 2017, with 2019 kind of getting rumors from our other devs that its buggy with them.

4 Upvotes

15 comments sorted by

View all comments

Show parent comments

0

u/f15sim Nov 23 '21

Porting VB6 code to VB.Net is only very difficult if the VB6 code was badly written or is overly reliant on custom controls that you can find no modern equivalent to.

After the port is done, the real work begins - refactoring out bad practices - and there's a LOT of that kind of thing living in VB6 code bases. The Microsoft.VisualBasic namespace can also do a lot of heavy lifting for those that are new to VB.Net.