• Welcome to Valhalla Legends Archive.
 

General Error

Started by Lenny, November 22, 2003, 09:33 AM

Previous topic - Next topic

Lenny

"Run-time error '5':
Invalid procedure call or argument"

Does anyone know the common problems in VB code which is associated with this message?

This message only occurs occasionaly each time I test, is it possible that too many events could be occuring causing my program to crash?

When I use it to load 3 bots, everything seems to occur normally, but when I load higher than 4 this error occurs.

My code reacts the same way if I were to load 2 or 100.

Also, Is it possible to find the line of error after .exe was created and running?
The Bovine Revolution
Something unimportant

Live Battle.net:

WARNING: The preceding message may have contained content unsuitable for young children.

Grok

Quote from: Lenny on November 22, 2003, 09:33 AM
"Run-time error '5':
Invalid procedure call or argument"

Does anyone know the common problems in VB code which is associated with this message?

This message only occurs occasionaly each time I test, is it possible that too many events could be occuring causing my program to crash?

When I use it to load 3 bots, everything seems to occur normally, but when I load higher than 4 this error occurs.

My code reacts the same way if I were to load 2 or 100.

So don't run more than one.

Quote
Also, Is it possible to find the line of error after .exe was created and running?

Erl

Lenny

Its not more than 1 .exe, my program loads multiple bots...
The Bovine Revolution
Something unimportant

Live Battle.net:

WARNING: The preceding message may have contained content unsuitable for young children.

Kp

Quote from: Lenny on November 22, 2003, 07:52 PM
Its not more than 1 .exe, my program loads multiple bots...

For what purpose do you need that?  Just do like Grok suggested and don't run so many.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!