|
-
Feb 1st, 2006, 01:40 AM
#1
Thread Starter
Fanatic Member
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!
ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
Programming is fun, but only if you're not on a tight deadline 
So I consider all those working engineers sad people
VB FTP class
3 page PHP crash course
Crash Course on DX9 Managed with VB.NET covering basics till terrain creation
-
Feb 1st, 2006, 01:43 AM
#2
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
If an answer to your question has been helpful, then please, Rate it!
Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.
-
Feb 1st, 2006, 01:45 AM
#3
Thread Starter
Fanatic Member
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.
ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
Programming is fun, but only if you're not on a tight deadline 
So I consider all those working engineers sad people
VB FTP class
3 page PHP crash course
Crash Course on DX9 Managed with VB.NET covering basics till terrain creation
-
Feb 1st, 2006, 01:46 AM
#4
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Feb 1st, 2006, 01:47 AM
#5
Thread Starter
Fanatic Member
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?
ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
Programming is fun, but only if you're not on a tight deadline 
So I consider all those working engineers sad people
VB FTP class
3 page PHP crash course
Crash Course on DX9 Managed with VB.NET covering basics till terrain creation
-
Feb 1st, 2006, 01:48 AM
#6
Thread Starter
Fanatic Member
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
ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
Programming is fun, but only if you're not on a tight deadline 
So I consider all those working engineers sad people
VB FTP class
3 page PHP crash course
Crash Course on DX9 Managed with VB.NET covering basics till terrain creation
-
Feb 1st, 2006, 01:49 AM
#7
Re: Help! my CTRL+BREAK is disabled!
have you tried pressing F8 after pressing CTRL+BREAK
If an answer to your question has been helpful, then please, Rate it!
Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.
-
Feb 1st, 2006, 01:51 AM
#8
Thread Starter
Fanatic Member
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.
ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
Programming is fun, but only if you're not on a tight deadline 
So I consider all those working engineers sad people
VB FTP class
3 page PHP crash course
Crash Course on DX9 Managed with VB.NET covering basics till terrain creation
-
Feb 1st, 2006, 02:05 AM
#9
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.
-
Feb 1st, 2006, 02:07 AM
#10
Thread Starter
Fanatic Member
Re: Help! my CTRL+BREAK is disabled!
thx, tried that, but found it too troublesome...just want to get my ctrl+break back
ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
Programming is fun, but only if you're not on a tight deadline 
So I consider all those working engineers sad people
VB FTP class
3 page PHP crash course
Crash Course on DX9 Managed with VB.NET covering basics till terrain creation
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|