BYTEINSIGHT
GAPVelocity AI Studio helps you move from outdated tech stacks to the latest desktop, web, and cloud platforms—smarter, faster, and with less risk.
Choose a platform to see migration options:
Our comprehensive approach to application modernization, from assessment to production deployment.
Transformation Services
Not Sure Where to Start?
The VB6 AI Migrator converts library elements to their equivalent when possible. When there is no equivalent, the default behavior was just to add a comment indicating that the following expression/statement could not be converted and need manual correction. This might cause a number of compilation errors that might hide other issues that need to be resolved manually.
The Stub Generation feature creates dummy (stub) declarations for those elements that could not be mapped to .NET equivalents. It also changes all the references to the not-supported elements for references to the stub declarations. This technique doesn’t resolve the whole issue since manual work will always be required to implement the functionality which is not present in .NET. However it can save an important amount of time by achieving the following goals:
A simple code example:
Note:
The LeftB function is not supported by the VB6 AI Migrator.
Public Sub method1() LeftB "teststring", 5 End Sub
Public Sub method1() method2() 'UPGRADE_ISSUE: (1040) LeftB function is not supported. UpgradeStubs.VBA_Strings.LeftB("teststring", 5) End Sub
public void method1(){ method2(); //UPGRADE_ISSUE: (1040) LeftB function is not supported. UpgradeStubs.VBA_Strings.LeftB("teststring", 5); }