When working with loop some time the loop goes into infinity while testing and I have terminate with “Ctrl+Alt+Del" and lose all unsaved work.

How to get out of infinity loop without losing unsaved work.

thanks

Show us the code that causes the loop to freeze.

commented: he just wanted to know how to break from an infinite loop +0

Check this thread out:
www.daniweb.com/software-development/visual-basic-4-5-6/threads/372600/another-way-to-break-a-test-run

Yes Farouk, he did ask how to exit the loop. what we really need to do if we REALLY want to help the poster is to see why his application went into an infinite loop in the first place, sorting the cause of the problem, not the symptoms.

thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.