I've created a VB6 program without any forms.
The program's properties is set to start with sub main rather than a form at startup. I then run this program in a MS-DOS prompt window.
The program reads several input files and outputs a single file. It works fine EXCEPT the program returns me to the DOS prompt like it is finished BUT it is at least 30 seconds later before the file shows up using the DIR command of DOS.
I have a batch program that runs this program and then immediately after it's done runs another program that reads the output of the first program, which DOESN'T find the file because it is 30 seconds late.
Any ideas/options?
The program's properties is set to start with sub main rather than a form at startup. I then run this program in a MS-DOS prompt window.
The program reads several input files and outputs a single file. It works fine EXCEPT the program returns me to the DOS prompt like it is finished BUT it is at least 30 seconds later before the file shows up using the DIR command of DOS.
I have a batch program that runs this program and then immediately after it's done runs another program that reads the output of the first program, which DOESN'T find the file because it is 30 seconds late.
Any ideas/options?