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:
GAPVelocity AI 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.
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:
GAPVelocity AI 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?
This issue applies only for C# target language.
The problem appears when an implementing member from a class is referenced in or out of the class. Remember, the implementing member in Visual Basic 6 is formed <Interface>_<Member>, and the target upgrade must remove the <Interface> prefix in order to get a correct syntax. It causes references to these members to be renamed to this new name to get the same functionality.
AClass.cls Implements AnInterface Sub AnInterface_AMethod(ByVal anArg As String) ' Code End Sub Sub MyMethod() AnInterface_AMethod "" End Sub AModule.vb Private Sub Foo() Dim c As New AClass c.AnInterface_AMethod "" End Sub
AClass.cls
internal class Class1
: AnInterface
{
public void AMethod(string anArg)
{
// Code
}
public void MyMethod()
{
AMethod("");
}
}
AModule.vb
private void Foo()
{
Class1 c = new Class1();
c.AMethod("");
}