VB5 Console Apps

I read somewhere that you can write a program in VB5 which will run in a DOS window as a console application. If anyone can verify this fact for me, and possibly point me to some source code or provide a simple source code to do this task, I would appreciate it.

I have that, but I'm looking to write a 32-bit console application to run from a DOS window. I've read on a website that it is possible to do it. I was just hoping someone out there can provide some sort of information or hint on how to do it. That's all I'm looking for.

Thanx cantrell, but I already have that program along with QB4.5, but they can't create 32-bit programs.

I guess no one here knows of it. I've read on a site about it. When I get the address, I will post it here and maybe an expert might be able to get an answer from this guy who claims that its possible.

To create a VB program that has only console input and output -- that is, no dialog boxes or forms -- you can use the Main procedure. Begin by creating a new project. Open a code window, then choose Insert | Procedure…. In the Insert Procedure dialog box, Select the Sub and Public options and enter Main in the Name box. Click OK to create a new Main subroutine in the General object. All your code will go in this routine; if you have any useful BAS modules, you can add those to the project as well.
VB needs to know what code to execute when your application is called. Since you're not using a form, you need to tell VB to start execution with Sub Main. To do so, choose Tools | Options…. Click the Project tab and select Sub Main from the Startup Form list. To remove the project's default form, right-click on it in the Project window and choose Remove File from the speed menu.
Testing a formless application can be a headache, so plan ahead: Use a log file to get debug messages from your application. You'll want to read about the Print # statement in VB's Help file, along with Open and Close.
Note that you can use this method to create a VB application that will run as a service on NT. (Services can't have any forms or dialog boxes.)

Introduction
I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.
What are they?
An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…

Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…