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 is generated when a non EXE project type has a Sub Main as startup object.
Since .Net DLLs doesn't have any method to execute it when the respective assembly is loaded, we have to add a static constructor and call the sub main inside.
This won't be executed at same time as VB6 but is the most similar behavior.
Sub Main() End Sub
Public Class Class1 'UPGRADE_WARNING: (1044) Sub Main in a DLL won't get called. Public Sub Main() End Sub End Class
public class Class1 { //UPGRADE_WARNING: (1044) Sub Main in a DLL won't get called. public void Main() { } }