473,385 Members | 1,806 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Long time bug in VB6

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.
Mar 1 '07 #1
21 3561
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
Mar 1 '07 #2
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)" <ri************@NOSPAMcomcast.netwrote in
message news:L8******************************@comcast.com. ..
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
Mar 2 '07 #3
"will_456" <wi;ll****@bigpond.com>'s wild thoughts were
released on Thu, 01 Mar 2007 19:55:47 GMT bearing the
following fruit:
>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.
Mar 2 '07 #4
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" <St***********@REMOVE.ME.uboot.comwrote in message
news:pn********************************@4ax.com...
"will_456" <wi;ll****@bigpond.com>'s wild thoughts were
released on Thu, 01 Mar 2007 19:55:47 GMT bearing the
following fruit:
>>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.


Mar 2 '07 #5
Also note there is no fix (2003) just a confirmation that it is a bug.
"will_456" <wi;ll****@bigpond.comwrote in message
news:on****************@news-server.bigpond.net.au...
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" <St***********@REMOVE.ME.uboot.comwrote in message
news:pn********************************@4ax.com...
>"will_456" <wi;ll****@bigpond.com>'s wild thoughts were
released on Thu, 01 Mar 2007 19:55:47 GMT bearing the
following fruit:
>>>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.



Mar 2 '07 #6
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" <St***********@REMOVE.ME.uboot.comwrote in message
news:pn********************************@4ax.com...
"will_456" <wi;ll****@bigpond.com>'s wild thoughts were
released on Thu, 01 Mar 2007 19:55:47 GMT bearing the
following fruit:
>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.
Mar 3 '07 #7

"Randy Birch" <rg************@mvps.orgwrote in message
news:45**********************@news.astraweb.com...
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?
:)
Mar 3 '07 #8
<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" <my********@comcast.netwrote in message
news:vP******************************@comcast.com. ..

"Randy Birch" <rg************@mvps.orgwrote in message
news:45**********************@news.astraweb.com...
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?
:)
Mar 3 '07 #9

"will_456" <wi;ll****@bigpond.comskrev i en meddelelse
news:7d*****************@news-server.bigpond.net.au...
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 ;-)

Mar 5 '07 #10
"Randy Birch" <rg************@mvps.org>'s wild thoughts were
released on Sat, 3 Mar 2007 09:43:03 -0500 bearing the
following fruit:
>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.
Mar 5 '07 #11

"preben nielsen" <pr**@post.tele.dkwrote in message
news:45*********************@dread12.news.tele.dk. ..
>
"will_456" <wi;ll****@bigpond.comskrev i en meddelelse
news:7d*****************@news-server.bigpond.net.au...
>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)


Mar 5 '07 #12
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?

Rick
Mar 5 '07 #13
"Rick Rothstein \(MVP - VB\)"
<ri************@NOSPAMcomcast.net>'s wild thoughts were
released on Mon, 5 Mar 2007 05:34:45 -0500 bearing the
following fruit:
>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
Mar 5 '07 #14
>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
Mar 5 '07 #15
"Rick Rothstein \(MVP - VB\)"
<ri************@NOSPAMcomcast.net>'s wild thoughts were
released on Mon, 5 Mar 2007 10:37:45 -0500 bearing the
following fruit:
>>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 ;-)

Mar 6 '07 #16
Jan Hyde wrote:
"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 :)

--
Dean Earley (de*********@icode.co.uk)
i-Catcher Development Team

iCode Systems
Mar 6 '07 #17
Dean Earley <de*********@icode.co.uk>'s wild thoughts were
released on Tue, 06 Mar 2007 09:36:15 +0000 bearing the
following fruit:
>Jan Hyde wrote:
>"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?
Mar 6 '07 #18

"Jan Hyde" <St***********@REMOVE.ME.uboot.comwrote in message
news:3p********************************@4ax.com...
Dean Earley <de*********@icode.co.uk>'s wild thoughts were
released on Tue, 06 Mar 2007 09:36:15 +0000 bearing the
following fruit:
>>Jan Hyde wrote:
>>"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
Mar 7 '07 #19
Jan Hyde wrote:
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 (de*********@icode.co.uk)
i-Catcher Development Team

iCode Systems
Mar 7 '07 #20
Dean Earley <de*********@icode.co.uk>'s wild thoughts were
released on Wed, 07 Mar 2007 08:42:44 +0000 bearing the
following fruit:
>Jan Hyde wrote:
>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
Mar 7 '07 #21
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)" <ri************@NOSPAMcomcast.netwrote in
message news:Ip******************************@comcast.com. ..
>>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


Mar 11 '07 #22

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Matt | last post by:
Hi folks. Can you help with some questions? I gather that some types supported by g++ are nonstandard but have been proposed as standards. Are the long long and unsigned long long types still...
6
by: Danny Lesandrini | last post by:
I'm using an Access database to drive a web site and the colors of various table backgrounds are stored in Access. I want users of the Access database to be able to select colors for the site, but...
5
by: Daniel Rudy | last post by:
How does one covert a interger number in a unsigned long long int (64-bit) to long double (80-bit) storage? I looked at math.h and I found function that convert double to long long, but didn't...
14
by: Steve McLellan | last post by:
Hi, Sorry to repost, but this is becoming aggravating, and causing me a lot of wasted time. I've got a reasonably large mixed C++ project, and after a number of builds (but not a constant...
7
by: Bruce D | last post by:
My program in connecting to a web site and I want to know how long it takes to connect to this site. I'm assuming I need to use some sort of timer. This is a console application. Here are the...
77
by: Peter Olcott | last post by:
http://www.tommti-systems.de/go.html?http://www.tommti-systems.de/main-Dateien/reviews/languages/benchmarks.html The above link shows that C# is 450% slower on something as simple as a nested loop....
5
by: DCC-700 | last post by:
I am using ASP.Net with VB on the 1.1 Framework running on Win XP Pro. I am trying to gauge the time it takes to sort a datagrid using different code sets. But when I am debugging the page there...
11
by: Ryan Liu | last post by:
In Visual Studio 2003, when i debug a C# program, I found: 300L * 10000000l -1294967296 int 210L * 10000000L 2100000000 int How come? a long type can not handle 300L * 10000000l, the result...
9
by: Simple Simon | last post by:
Java longs are 8 bytes. I have a Java long that is coming in from the network, and that represents milliseconds since Epoch (Jan 1 1970 00:00:00). I'm having trouble understanding how to get it...
16
by: Blue Apricot | last post by:
X-No-Archive How long will Classic ASP be supported by Microsoft? Should I start learning ASP.NET? Is it hard if you already know ASP? Blue Apricot
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.