• Welcome to Valhalla Legends Archive.
 

help please

Started by TeEhEiMaN, February 28, 2004, 07:47 PM

Previous topic - Next topic

TeEhEiMaN

For some reason vb 6 is crashin after i click run and then connect with my bot, then stop the program or close it. Only happends when i connect, not when i do anything eles. I can run the bot and mess with setup or any other forums and stop it and nothin happen, so what do u think the problem is?

Thanks

o.OV

You could try debugging ..

Place a Breakpoint in the sub
that runs when you click Connect.
Then use F8 to step into EVERY LINE
until you are in channel or you have crashed.
That will reveal which line is causing your bot to crash.
If the facts don't fit the theory, change the facts. - Albert Einstein

TeEhEiMaN

no bugs come up, what do u suggest next?

Eric

#3
Most likely the bug wouldn't be appearing during code execution, since it only occurs when closing the program. There's only three possibilities that I know of that would be causing this, and they are:
1.) Your objects are not being closed properly or being closed at all.
2.) There is something being called on Form_Unload() that is causing your program to freeze.
3.) There is a bug in your copy of Visual Studio.

Stealth

It probably has something to do with an API call.. they can screw the IDE up fairly easily.

If it just FREEZES, try hitting CTRL+BREAK (the Break key is above Page Up) and seeing if it's infinitely looping.
- Stealth
Author of StealthBot

o.OV

After reading LoRd[nK]'s post..
I realized I misread your post.

Place the BreakPoint at Form_Unload instead.
If the facts don't fit the theory, change the facts. - Albert Einstein