From Xojo Documentation
Yields time back to your app so that it can handle other events.
By design, console applications do not have a main event loop. It implies that classes relying on such event loop will not work as expected.
You can call DoEvents in the Run event of your console application to create your own main event loop. If you use Timers or sockets in a console application and fail to periodically call App.DoEvents, sockets will not work and Timer.Action will never fire.
Dim consoleTimer As New MyTimerSubclass
consoleTimer.Mode = 2 // Don't forget this one
consoleTimer.Period = 1000 // Call every second