954,557 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Another way to break a test run

Hi guys, my keyboard has not Break key, so i cant braek a test run with the conventional Ctrl + Break. Is there any other way to break a test run? Thanks in advance.

faroukmuhammad
Junior Poster
140 posts since Sep 2008
Reputation Points: 20
Solved Threads: 16
 

Guys, Pls help...

faroukmuhammad
Junior Poster
140 posts since Sep 2008
Reputation Points: 20
Solved Threads: 16
 

I don't know of any other replacement keystroke combination for . I guess the appropriate question here is, how can you have a computer keyboard that doesn't have a break key, unless you've damaged it or built it yourself?

Assuming there is no answer to that, here are some things you can try:

Before you start execution, just set Breakpoints at likely places in your code. If you have a lot of code, this could be time consuming. Then you execute with the Run button, look at your breakpoint, then either hit F5 to continue until you get to the problem code, or F8 to step through line-by-line.

If you don't want to do that, you can just kill execution with TaskManager. The drawback with this approach is it completely kills VB so you lose any unsaved changes, and won't stop at the executing line.

Hope this helps.

BitBlt
Master Poster
711 posts since Feb 2011
Reputation Points: 367
Solved Threads: 109
 

Have you tried using SendKey {BREAK}

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 
Have you tried using SendKey {BREAK}


How do you mean?

faroukmuhammad
Junior Poster
140 posts since Sep 2008
Reputation Points: 20
Solved Threads: 16
 

Try using this .

Or simply use the On Screen keyboard.

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 

I'm going for the sendkeys software, for i've since been trying on screen keyboard and BREAK is no where to be found.

faroukmuhammad
Junior Poster
140 posts since Sep 2008
Reputation Points: 20
Solved Threads: 16
 

Wow!!! this sendkey of a software is awesome. THANK YOU debasisdas...

faroukmuhammad
Junior Poster
140 posts since Sep 2008
Reputation Points: 20
Solved Threads: 16
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: