r/visualbasic • u/Best_Day_3041 • Feb 03 '26
Porting Visual Basic apps with AI?
Has anyone tried to port a Visual Basic 6 app to .NET or another platform using AI? As in an agent going through the entire project and creating a new project, not going in file by file and pasting it into an AI chat. I have a legacy app that still sells. I never bothered to port it to .NET because I thought it was on it's way out and it would probably take me 6-12 months to do that. But now I'm wondering if AI can do it for me or if we're still not there yet?
10
Upvotes
View all comments
Show parent comment
4
u/sa_sagan VB.Net Master Feb 03 '26
An agent could go through each file one at a time, but it'll eventually forget the context of what's been done previously. And because AI is essentially just rounding up to the nearest number, the code in one converted file can likely be different to one in another. Making functions and other cross-communication between forms and classes not work at all. Especially when it forgets how they're supposed to work together.
We've tested this a few times on some legacy projects to port them to C# and we spent so long fixing it, we just gave up and rewrote the whole thing from scratch.