I have an appication that I have written in VB6 and compiled into an exe.
The program runs in a wscript loop every 1 min.
Occationally the program will just freeze and take up 50% of the processor.
I have put some on error code in writing the errors to a file and this works fine as when it errors, it writes the error and it exits. ...except when it freezes. I am at a loss of what to do.
Is it possible to create, (i am very new at this) a form since the only item in my program is a module, that will display the current line of code that the program is on....so when it freezes, i can see where it froze.
I can run it in debug mode till i am old and grey and it works fine and it may cycle 1000 times without freezing but then on the 1001 time it locks.