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?
This EWI appears when an object cannot be typed correctly or a particular method could not be found in the class. This usually occurs for in late binding scenarios.
Register any required references by modifying the Upgrade Profile. The Profile Manager in Version 2.2 of the VB6 AI Migrator includes a helpful Reference Found column that highlights references of components found in the target VB6 project, which can optionally be mapped to .NET equivalents:
In some cases the VB6 AI Migrator will still be unable to map the reference correctly due to late binding scenarios where multiple types are sent as parameters.
PublicSub CreateInstanceExample()
Dim PluginObj
PluginObj = GetObjectContext().CreateInstance("PluginNamespace.Plugin")
PluginObj.Func("A")
PluginObj.Action(1)
EndSub
PublicSub CreateInstanceExample()
Dim PluginObj AsObject = GetObjectContext().CreateInstance("PluginNamespace.Plugin")
'UPGRADE_TODO: (1067) Member Func is not defined in type Variant.
PluginObj.Func("A")
'UPGRADE_TODO: (1067) Member Action is not defined in type Variant.
PluginObj.Action(1)
EndSub
Replace with a strongly typed equivalent in the migrated solution, which should now contain references to the required assemblies or DLLs.
PublicSub CreateInstanceExample()
Dim PluginObj AsObject = New PluginNamespace.Plugin
PluginObj.Func("A")
PluginObj.Action(1)
EndSub
publicvoid CreateInstanceExample()
{
object PluginObj = GetObjectContext().CreateInstance("PluginNamespace.Plugin");
//UPGRADE_TODO: (1067) Member Func is not defined in type Variant.
PluginObj.Func("A");
//UPGRADE_TODO: (1067) Member Action is not defined in type Variant.
PluginObj.Action(1);
}
Replace with a strongly typed equivalent in the migrated solution, which should now contain references to the required assemblies or DLLs.
publicvoid CreateInstanceExample()
{
PluginNamespace.Plugin PluginObj = new PluginNamespace.Plugin();
PluginObj.Func("A");
PluginObj.Action(1);
}