Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Command-line applications must have a Sub Main defined. Main must be declared as Public Shared if it is defined in a class, or as Public if defined in a module.
For more information on Main, see Visual Basic Version of Hello, World.
Error ID: BC30737
To correct this error
- Define a Public Sub Main procedure for your project. Declare it as Shared if and only if you define it inside a class.
See Also
Concepts
Visual Basic Version of Hello, World