Help! my CTRL+BREAK is disabled!
In my VB6 on my laptop, when I have a msgbox (and waiting for the 'OK' to be
pressed), I can't stop the program using CTRL+BREAK nor CTRL+C! Imagine
when I get into a loop (I frequently use msgbox as a simple means to tell me
the internal stat of the program)
The stop button is obviously out of the question.
Anyone help me out pls? Thanks a lot! :wave:
Re: Help! my CTRL+BREAK is disabled!
use the combination of CTRL+FUNC+BREAK or CTRL+FUNC+C
FUNC is the function key located next to the control key
Re: Help! my CTRL+BREAK is disabled!
thanks for your help...but...
no, neither my ctrl nor my break key needs the func key combination.
i've tested; my system can detect the ctrl+break combination without any
func key needed, but it's just VB6 that wont stop.
Re: Help! my CTRL+BREAK is disabled!
You can always terminate that VB6.exe process from the task manager but then you will loose any unsaved work.
Re: Help! my CTRL+BREAK is disabled!
yea thx i know tht, but just want to get the ctrl+break thing back. any idea why it
wont work anymore on msgboxes?
Re: Help! my CTRL+BREAK is disabled!
and FYI, i've tried reinstallation (but never tried full uninstall and re-install...my laptop
HDD is just too fragile to do that), still VB6 wont respond to Ctrl+break while msgboxing
Re: Help! my CTRL+BREAK is disabled!
have you tried pressing F8 after pressing CTRL+BREAK
Re: Help! my CTRL+BREAK is disabled!
thanks, but, ctrl+break just wont stop the program, so pressing F8 (creating
breakpoints) wont have any effect.
Re: Help! my CTRL+BREAK is disabled!
Why don't you add a watch?
Right click a variable or object, select "Add Watch", in the Frame select..
"Break when the Value is True", and in the textbox write the condition, i.e:
If you watch variable A (integer) then in the textbox add A = 1.
Or A = "Something" if A is a String.
Then run your program, it will break when the condition is TRUE.
Re: Help! my CTRL+BREAK is disabled!
thx, tried that, but found it too troublesome...just want to get my ctrl+break back :(