Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

Long time bug in VB6

Question posted by: will_456 (Guest) on March 1st, 2007 07:05 PM
I've always found this extremely annoying, anyone else?

On a form where you have many controls hold down your Ctrl key and select a
large number of them at random. Now keep the Ctrl key down and click a
control again to unselect it. Your VB6 IDE will crash.

It's annoying because you'll be selecting sometimes small labels and you'll
accidentally select the wrong one or what's behind it. I've had this problem
in spite of every service pack.


Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
Rick Rothstein \(MVP - VB\)'s Avatar
Rick Rothstein \(MVP - VB\)
Guest
n/a Posts
March 1st, 2007
07:15 PM
#2

Re: Long time bug in VB6
I've always found this extremely annoying, anyone else?
Quote:
Originally Posted by
>
On a form where you have many controls hold down your Ctrl key and select
a large number of them at random. Now keep the Ctrl key down and click a
control again to unselect it. Your VB6 IDE will crash.
>
It's annoying because you'll be selecting sometimes small labels and
you'll accidentally select the wrong one or what's behind it. I've had
this problem in spite of every service pack.


I just tried it out on my VB6 SP5 installation and the problem you are
describing does not occur on it.

Rick



Randy Birch's Avatar
Randy Birch
Guest
n/a Posts
March 2nd, 2007
02:55 AM
#3

Re: Long time bug in VB6
Ditto here - never had a crash selecting or deselecting multiple controls.

--


Randy Birch
MS MVP, Visual Basic
http://vbnet.mvps.org/


"Rick Rothstein (MVP - VB)" <rickNOSPAMnews@NOSPAMcomcast.netwrote in
message news:L8qdnetxZa4ar3rYnZ2dnUVZ_vupnZ2d@comcast.com. ..
Quote:
Originally Posted by
I've always found this extremely annoying, anyone else?
>
On a form where you have many controls hold down your Ctrl key and select
a large number of them at random. Now keep the Ctrl key down and click a
control again to unselect it. Your VB6 IDE will crash.
>
It's annoying because you'll be selecting sometimes small labels and
you'll accidentally select the wrong one or what's behind it. I've had
this problem in spite of every service pack.


I just tried it out on my VB6 SP5 installation and the problem you are
describing does not occur on it.

Rick



Jan Hyde's Avatar
Jan Hyde
Guest
n/a Posts
March 2nd, 2007
08:05 AM
#4

Re: Long time bug in VB6
"will_456" <wi;ll_456@bigpond.com>'s wild thoughts were
released on Thu, 01 Mar 2007 19:55:47 GMT bearing the
following fruit:
Quote:
Originally Posted by
>I've always found this extremely annoying, anyone else?
>
>On a form where you have many controls hold down your Ctrl key and select a
>large number of them at random. Now keep the Ctrl key down and click a
>control again to unselect it. Your VB6 IDE will crash.
>
>It's annoying because you'll be selecting sometimes small labels and you'll
>accidentally select the wrong one or what's behind it. I've had this problem
>in spite of every service pack.
>


This bug was fixed in a SP, can't recall which one. But I
think and SP from 3-6 should do.



will_456's Avatar
will_456
Guest
n/a Posts
March 2nd, 2007
08:55 AM
#5

Re: Long time bug in VB6
Found it thanks:

http://support.microsoft.com/kb/190039/en-us

Apparently all I need to do is open the properties windw first and it won't
crash.

Hm-m-m wish I'd known that before adding 20 controls to a form, lining them
up and getting them looking just right before selecting them all and trying
to select them all so I can set a common property (without saving first).
Make one mistake selecting so need to deselect one control and Crash !!! -
start again with a blank form. I've done this so many times Arg-h-h-h-h
!!!!!!



"Jan Hyde" <StellaDrinker@REMOVE.ME.uboot.comwrote in message
news:pnpfu257bqk0fb5fmrc19srvpptb36a7b5@4ax.com...
Quote:
Originally Posted by
"will_456" <wi;ll_456@bigpond.com>'s wild thoughts were
released on Thu, 01 Mar 2007 19:55:47 GMT bearing the
following fruit:
>
Quote:
Originally Posted by
>>I've always found this extremely annoying, anyone else?
>>
>>On a form where you have many controls hold down your Ctrl key and select
>>a
>>large number of them at random. Now keep the Ctrl key down and click a
>>control again to unselect it. Your VB6 IDE will crash.
>>
>>It's annoying because you'll be selecting sometimes small labels and
>>you'll
>>accidentally select the wrong one or what's behind it. I've had this
>>problem
>>in spite of every service pack.
>>

>
This bug was fixed in a SP, can't recall which one. But I
think and SP from 3-6 should do.
>
>




will_456's Avatar
will_456
Guest
n/a Posts
March 2nd, 2007
08:55 AM
#6

Re: Long time bug in VB6
Also note there is no fix (2003) just a confirmation that it is a bug.


"will_456" <wi;ll_456@bigpond.comwrote in message
news:onSFh.5912$8U4.703@news-server.bigpond.net.au...
Quote:
Originally Posted by
Found it thanks:
>
http://support.microsoft.com/kb/190039/en-us
>
Apparently all I need to do is open the properties windw first and it
won't crash.
>
Hm-m-m wish I'd known that before adding 20 controls to a form, lining
them up and getting them looking just right before selecting them all and
trying to select them all so I can set a common property (without saving
first). Make one mistake selecting so need to deselect one control and
Crash !!! - start again with a blank form. I've done this so many times
Arg-h-h-h-h !!!!!!
>
>
>
"Jan Hyde" <StellaDrinker@REMOVE.ME.uboot.comwrote in message
news:pnpfu257bqk0fb5fmrc19srvpptb36a7b5@4ax.com...
Quote:
Originally Posted by
>"will_456" <wi;ll_456@bigpond.com>'s wild thoughts were
>released on Thu, 01 Mar 2007 19:55:47 GMT bearing the
>following fruit:
>>
Quote:
Originally Posted by
>>>I've always found this extremely annoying, anyone else?
>>>
>>>On a form where you have many controls hold down your Ctrl key and select
>>>a
>>>large number of them at random. Now keep the Ctrl key down and click a
>>>control again to unselect it. Your VB6 IDE will crash.
>>>
>>>It's annoying because you'll be selecting sometimes small labels and
>>>you'll
>>>accidentally select the wrong one or what's behind it. I've had this
>>>problem
>>>in spite of every service pack.
>>>

>>
>This bug was fixed in a SP, can't recall which one. But I
>think and SP from 3-6 should do.
>>
>>

>
>




Randy Birch's Avatar
Randy Birch
Guest
n/a Posts
March 3rd, 2007
01:55 PM
#7

Re: Long time bug in VB6
Still can't reproduce the problem, even following the steps in the KB
article. And that's on a box with vb6 and NO service pack installed.

--


Randy Birch
MS MVP, Visual Basic
http://vbnet.mvps.org/


"Jan Hyde" <StellaDrinker@REMOVE.ME.uboot.comwrote in message
news:pnpfu257bqk0fb5fmrc19srvpptb36a7b5@4ax.com...
"will_456" <wi;ll_456@bigpond.com>'s wild thoughts were
released on Thu, 01 Mar 2007 19:55:47 GMT bearing the
following fruit:
Quote:
Originally Posted by
>I've always found this extremely annoying, anyone else?
>
>On a form where you have many controls hold down your Ctrl key and select a
>large number of them at random. Now keep the Ctrl key down and click a
>control again to unselect it. Your VB6 IDE will crash.
>
>It's annoying because you'll be selecting sometimes small labels and you'll
>accidentally select the wrong one or what's behind it. I've had this
>problem
>in spite of every service pack.
>


This bug was fixed in a SP, can't recall which one. But I
think and SP from 3-6 should do.



Steve Gerrard's Avatar
Steve Gerrard
Guest
n/a Posts
March 3rd, 2007
04:45 PM
#8

Re: Long time bug in VB6

"Randy Birch" <rgb_removethis@mvps.orgwrote in message
news:45e98a33$0$14404$c3e8da3@news.astraweb.com...
Quote:
Originally Posted by
Still can't reproduce the problem, even following the steps in the KB
article. And that's on a box with vb6 and NO service pack installed.
>


VB6 in original condition? Are you saving that for Antiques Roadshow, or
something?
:)



Randy Birch's Avatar
Randy Birch
Guest
n/a Posts
March 3rd, 2007
08:35 PM
#9

Re: Long time bug in VB6
<gHaven't got around to installing SP5 or SP6 on a clean install.

--


Randy Birch
MS MVP, Visual Basic
http://vbnet.mvps.org/


"Steve Gerrard" <mynamehere@comcast.netwrote in message
news:vPednaz3CqfoLHTYnZ2dnUVZ_oWdnZ2d@comcast.com. ..

"Randy Birch" <rgb_removethis@mvps.orgwrote in message
news:45e98a33$0$14404$c3e8da3@news.astraweb.com...
Quote:
Originally Posted by
Still can't reproduce the problem, even following the steps in the KB
article. And that's on a box with vb6 and NO service pack installed.
>


VB6 in original condition? Are you saving that for Antiques Roadshow, or
something?
:)



preben nielsen's Avatar
preben nielsen
Guest
n/a Posts
March 5th, 2007
05:35 AM
#10

Re: Long time bug in VB6

"will_456" <wi;ll_456@bigpond.comskrev i en meddelelse
news:7dGFh.5564$8U4.4891@news-server.bigpond.net.au...
Quote:
Originally Posted by
I've always found this extremely annoying, anyone else?
>
On a form where you have many controls hold down your Ctrl key
and select a large number of them at random. Now keep the Ctrl
key down and click a control again to unselect it. Your VB6 IDE
will crash.


Never seen that problem.

And a "large number of control" does - in my ears - sound like a
design-problem ;-)




Jan Hyde's Avatar
Jan Hyde
Guest
n/a Posts
March 5th, 2007
08:25 AM
#11

Re: Long time bug in VB6
"Randy Birch" <rgb_removethis@mvps.org>'s wild thoughts were
released on Sat, 3 Mar 2007 09:43:03 -0500 bearing the
following fruit:
Quote:
Originally Posted by
>Still can't reproduce the problem, even following the steps in the KB
>article. And that's on a box with vb6 and NO service pack installed.


It certainly has been a problem - it used to drive me crazy.
I've encountered the problem very rarely since SP3.



will_456's Avatar
will_456
Guest
n/a Posts
March 5th, 2007
09:15 AM
#12

Re: Long time bug in VB6

"preben nielsen" <prel@post.tele.dkwrote in message
news:45ebb7cc$0$845$edfadb0f@dread12.news.tele.dk. ..
Quote:
Originally Posted by
>
"will_456" <wi;ll_456@bigpond.comskrev i en meddelelse
news:7dGFh.5564$8U4.4891@news-server.bigpond.net.au...
Quote:
Originally Posted by
>I've always found this extremely annoying, anyone else?
>>
>On a form where you have many controls hold down your Ctrl key and select
>a large number of them at random. Now keep the Ctrl key down and click a
>control again to unselect it. Your VB6 IDE will crash.

>
Never seen that problem.
>
And a "large number of control" does - in my ears - sound like a
design-problem ;-)
>
>
>

Just tried it then:
1. New project - one form
2. Add 4 buttons
3. Close properties window
4. Hold down Ctrl and click on each one until 4 selected
5. Click one again to deselect

Houston - we have a problem !!!! ... well on my system anyway (and the last
three computers I've owned)





Rick Rothstein \(MVP - VB\)'s Avatar
Rick Rothstein \(MVP - VB\)
Guest
n/a Posts
March 5th, 2007
09:45 AM
#13

Re: Long time bug in VB6
Just tried it then:
Quote:
Originally Posted by
1. New project - one form
2. Add 4 buttons
3. Close properties window
4. Hold down Ctrl and click on each one until 4 selected
5. Click one again to deselect
>
Houston - we have a problem !!!! ... well on my system anyway (and the
last three computers I've owned)


Yep! That procedure (and using the Shift key instead of the Control key)
crashes my copy of VB also. I guess I never saw this problem before because
I never close the Properties window. Just out of curiosity, why would
someone close the Properties window anyway?

Rick



Jan Hyde's Avatar
Jan Hyde
Guest
n/a Posts
March 5th, 2007
12:05 PM
#14

Re: Long time bug in VB6
"Rick Rothstein \(MVP - VB\)"
<rickNOSPAMnews@NOSPAMcomcast.net>'s wild thoughts were
released on Mon, 5 Mar 2007 05:34:45 -0500 bearing the
following fruit:
Quote:
Originally Posted by
Quote:
Originally Posted by
>Just tried it then:
>1. New project - one form
>2. Add 4 buttons
>3. Close properties window
>4. Hold down Ctrl and click on each one until 4 selected
>5. Click one again to deselect
>>
>Houston - we have a problem !!!! ... well on my system anyway (and the
>last three computers I've owned)

>
>Yep! That procedure (and using the Shift key instead of the Control key)
>crashes my copy of VB also. I guess I never saw this problem before because
>I never close the Properties window. Just out of curiosity, why would
>someone close the Properties window anyway?


Before I got a flat screen my eyes could only cope with
800x600 - Not a lot of screen real estate to work with.

I can see why there might be occasions where you need to
close things down.

J

Rick Rothstein \(MVP - VB\)'s Avatar
Rick Rothstein \(MVP - VB\)
Guest
n/a Posts
March 5th, 2007
02:45 PM
#15

Re: Long time bug in VB6
>Just out of curiosity, why would someone close the
Quote:
Originally Posted by
Quote:
Originally Posted by
>Properties window anyway?

>
Before I got a flat screen my eyes could only cope with
800x600 - Not a lot of screen real estate to work with.
>
I can see why there might be occasions where you need to
close things down.


Maybe if you were using the MDI interface; but if things were that crowded,
switching to the SDI interface would have solved that... no need to turn
individual "tool" windows off as the Form, when selected, would sit above
them.

Rick



Jan Hyde's Avatar
Jan Hyde
Guest
n/a Posts
March 6th, 2007
08:05 AM
#16

Re: Long time bug in VB6
"Rick Rothstein \(MVP - VB\)"
<rickNOSPAMnews@NOSPAMcomcast.net>'s wild thoughts were
released on Mon, 5 Mar 2007 10:37:45 -0500 bearing the
following fruit:
Quote:
Originally Posted by
Quote:
Originally Posted by
Quote:
Originally Posted by
>>Just out of curiosity, why would someone close the
>>Properties window anyway?

>>
>Before I got a flat screen my eyes could only cope with
>800x600 - Not a lot of screen real estate to work with.
>>
>I can see why there might be occasions where you need to
>close things down.

>
>Maybe if you were using the MDI interface; but if things were that crowded,
>switching to the SDI interface would have solved that... no need to turn
>individual "tool" windows off as the Form, when selected, would sit above
>them.


True, but as we know, some people here see the SDI interface
as evil ;-)




Dean Earley's Avatar
Dean Earley
Guest
n/a Posts
March 6th, 2007
08:45 AM
#17

Re: Long time bug in VB6
Jan Hyde wrote:
Quote:
Originally Posted by
"Rick Rothstein \(MVP - VB\)"
Quote:
Originally Posted by
Quote:
Originally Posted by
>>I can see why there might be occasions where you need to
>>close things down.

>Maybe if you were using the MDI interface; but if things were that crowded,
>switching to the SDI interface would have solved that... no need to turn
>individual "tool" windows off as the Form, when selected, would sit above
>them.

>
True, but as we know, some people here see the SDI interface
as evil ;-)


But a necessity if you want to (sensibly) use multiple monitors :)

--
Dean Earley (dean.earley@icode.co.uk)
i-Catcher Development Team

iCode Systems

Jan Hyde's Avatar
Jan Hyde
Guest
n/a Posts
March 6th, 2007
02:05 PM
#18

Re: Long time bug in VB6
Dean Earley <dean.earley@icode.co.uk>'s wild thoughts were
released on Tue, 06 Mar 2007 09:36:15 +0000 bearing the
following fruit:
Quote:
Originally Posted by
>Jan Hyde wrote:
Quote:
Originally Posted by
>"Rick Rothstein \(MVP - VB\)"
Quote:
Originally Posted by
>>>I can see why there might be occasions where you need to
>>>close things down.
>>Maybe if you were using the MDI interface; but if things were that crowded,
>>switching to the SDI interface would have solved that... no need to turn
>>individual "tool" windows off as the Form, when selected, would sit above
>>them.

>>
>True, but as we know, some people here see the SDI interface
>as evil ;-)

>
>But a necessity if you want to (sensibly) use multiple monitors :)


I've never used multiple monitors, can you answer me this.
My graphics card only has one output so I can only plug in
one monitor, is there any way I can use the on board
graphics card to run the second monitor?



Raoul Watson's Avatar
Raoul Watson
Guest
n/a Posts
March 6th, 2007
11:45 PM
#19

Re: Long time bug in VB6

"Jan Hyde" <StellaDrinker@REMOVE.ME.uboot.comwrote in message
news:3pvqu2tb2bhvb4i7q1r4knsdvuadqmt5ko@4ax.com...
Quote:
Originally Posted by
Dean Earley <dean.earley@icode.co.uk>'s wild thoughts were
released on Tue, 06 Mar 2007 09:36:15 +0000 bearing the
following fruit:
>
Quote:
Originally Posted by
>>Jan Hyde wrote:
Quote:
Originally Posted by
>>"Rick Rothstein \(MVP - VB\)"
>>>>I can see why there might be occasions where you need to
>>>>close things down.
>>>Maybe if you were using the MDI interface; but if things were that
>>>crowded,
>>>switching to the SDI interface would have solved that... no need to
>>>turn
>>>individual "tool" windows off as the Form, when selected, would sit
>>>above
>>>them.
>>>
>>True, but as we know, some people here see the SDI interface
>>as evil ;-)

>>
>>But a necessity if you want to (sensibly) use multiple monitors :)

>
I've never used multiple monitors, can you answer me this.
My graphics card only has one output so I can only plug in
one monitor, is there any way I can use the on board
graphics card to run the second monitor?
>


You can connect it to something like Matrox Dualhead to go..
http://sewelldirect.com/DualHead2Go-Matrox.asp



Dean Earley's Avatar
Dean Earley
Guest
n/a Posts
March 7th, 2007
07:55 AM
#20

Re: Long time bug in VB6
Jan Hyde wrote:
Quote:
Originally Posted by
I've never used multiple monitors, can you answer me this.
My graphics card only has one output so I can only plug in
one monitor, is there any way I can use the on board
graphics card to run the second monitor?


It depends on the motherboard.

Some see an extra graphics card and completely disable the on board,
some have an option to enable it as well.

Failing that, a Matrox or NVidia dual head card as Raoul suggested.

--
Dean Earley (dean.earley@icode.co.uk)
i-Catcher Development Team

iCode Systems

Jan Hyde's Avatar
Jan Hyde
Guest
n/a Posts
March 7th, 2007
08:15 AM
#21

Re: Long time bug in VB6
Dean Earley <dean.earley@icode.co.uk>'s wild thoughts were
released on Wed, 07 Mar 2007 08:42:44 +0000 bearing the
following fruit:
Quote:
Originally Posted by
>Jan Hyde wrote:
Quote:
Originally Posted by
>I've never used multiple monitors, can you answer me this.
>My graphics card only has one output so I can only plug in
>one monitor, is there any way I can use the on board
>graphics card to run the second monitor?

>
>It depends on the motherboard.
>
>Some see an extra graphics card and completely disable the on board,
>some have an option to enable it as well.
>
>Failing that, a Matrox or NVidia dual head card as Raoul suggested.


I was hoping to avoid the extra expense. I may just wait
until I need a new graphics card.

Thanks anyway.

J

Randy Birch's Avatar
Randy Birch
Guest
n/a Posts
March 11th, 2007
03:55 PM
#22

Re: Long time bug in VB6
ah.. that's why it worked for me... I only use SDI.


--


Randy Birch
MS MVP, Visual Basic
http://vbnet.mvps.org/

Please respond to the newsgroups so all can benefit.



"Rick Rothstein (MVP - VB)" <rickNOSPAMnews@NOSPAMcomcast.netwrote in
message news:IpKdnUKPCeXXpHHYnZ2dnUVZ_s-rnZ2d@comcast.com...
Quote:
Originally Posted by
Quote:
Originally Posted by
Quote:
Originally Posted by
>>Just out of curiosity, why would someone close the
>>Properties window anyway?

>>
>Before I got a flat screen my eyes could only cope with
>800x600 - Not a lot of screen real estate to work with.
>>
>I can see why there might be occasions where you need to
>close things down.

>
Maybe if you were using the MDI interface; but if things were that
crowded, switching to the SDI interface would have solved that... no need
to turn individual "tool" windows off as the Form, when selected, would
sit above them.
>
Rick
>





 
Not the answer you were looking for? Post your question . . .
182,081 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors