I\'m trying to run a legacy VB6 application on my desktop (it doesn\'t have a user interface, being a command-line app), and when I do, I get a message box saying
For a VB6 program which is run as a command line application there is an extra stage required after compilation: the VB6 linker needs to be run on the executable to set it as a console program:
\LINK.EXE /EDIT /SUBSYSTEM:CONSOLE .exe
Failure to do this will give the Method '~' of object '~' failed error when the program is run.