×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How to break out of the dreaded infinite loop while editing a VB6 project

How to break out of the dreaded infinite loop while editing a VB6 project

How to break out of the dreaded infinite loop while editing a VB6 project

(OP)
This may be an old and obvious question, and even though I searched the FAQ and forum I didn't find what I was looking for. Please excuse this if it's already been answered.

I've encountered this many times over the years when working VB6 in my Visual Studios 6 Enterprise edition, and it's always cringe/cuss worthy when it happens. The dreaded infinite logic loop that locks up your editor when you hit F5 to execute your code, and there's nothing to do, as far as I know, except to end task and loose all your progress since last save.

Question: IS there a special way to break these loops that I'm missing. Perhaps a mantra with burning incense and a voodoo doll or something?

Again, this may be programming 101 for most, but this old cat is self-taught, and self has never taught self this trick. Thanks :D

------------------------------------
yinyang Over 30 years of programming, and still learning every day! yinyang

RE: How to break out of the dreaded infinite loop while editing a VB6 project

(OP)
Answered my own question... as I suspected, it was something easy, obvious and "old school".

CTRL-BREAK

*slaps forehead*

------------------------------------
yinyang Over 30 years of programming, and still learning every day! yinyang

RE: How to break out of the dreaded infinite loop while editing a VB6 project

The obvious fix is to avoid infinite loops, but you already know that. Voodoo doll may help, but I use Ctrl-Break to get out of infinite loop. You have to hit it several times sometimes to make the loop stop, and it is not instant (usually), but it does stop your loop. Give it a try... smile


---- Andy

There is a great need for a sarcasm font.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close