Bug in VB.NET 2003.

  • Thread starter Thread starter Rvo
  • Start date Start date
R

Rvo

In VB.Net 2003 use the scale method of any gui-window in your application
with parameter (0) (that's a zero) and run the code.
When this line of code is executed your PC's OS (windows 2000 Professional
SP3 in my case) will lock up.
No tasks can be killed or anything, you'll need to reset the machine.
 
Rvo said:
In VB.Net 2003 use the scale method of any gui-window in your application
with parameter (0) (that's a zero) and run the code.
When this line of code is executed your PC's OS (windows 2000 Professional
SP3 in my case) will lock up.

This actually makes sense, althought it should throw an excepiton, because
if you set the scale to 0 then the result would be undefined/infinity
depending on the scaling method.

Why would you want to scale to zero anyway? Would not that be the same as
setting the Visibility property = False?

~
Jeremy
 
Rvo said:
In VB.Net 2003 use the scale method of any gui-window in your
application with parameter (0) (that's a zero) and run the code.
When this line of code is executed your PC's OS (windows 2000
Professional SP3 in my case) will lock up.
No tasks can be killed or anything, you'll need to reset the
machine.

Your *PC* must have a bug. ;-) Can't reproduce it (WinXP Prof./SP1). The
*only* thing that happens is that, as expected, the form gets as small as
possible, but *nothing* is locked at all.

Maybe your display driver ran out of stability?
 
* "Rvo said:
In VB.Net 2003 use the scale method of any gui-window in your application
with parameter (0) (that's a zero) and run the code.
When this line of code is executed your PC's OS (windows 2000 Professional
SP3 in my case) will lock up.
No tasks can be killed or anything, you'll need to reset the machine.

Works without problems on my Windows XP Professional SP1 machine running
..NET 1.1.
 
Back
Top