473,403 Members | 2,284 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,403 software developers and data experts.

Bug in VB.NET 2003.

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.
Nov 20 '05 #1
4 1062
"Rvo" <romainvoes@{DoesNotLikeSpam}vlaamsparlement.be> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
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

Nov 20 '05 #2
"Rvo" <romainvoes@{DoesNotLikeSpam}vlaamsparlement.be> schrieb
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?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #3
Rvo
I didn't want to scale to zero, I just made a "typo" and tried to run the
code :-/

"Jeremy Cowles" <jeremy.cowles[nosp@m]asifl.com> schreef in bericht
news:3X******************@twister.tampabay.rr.com. ..
"Rvo" <romainvoes@{DoesNotLikeSpam}vlaamsparlement.be> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
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

Nov 20 '05 #4
* "Rvo" <romainvoes@{DoesNotLikeSpam}vlaamsparlement.be> scripsit:
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.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #5

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

Similar topics

1
by: David Lee | last post by:
Need some help bad here. Am using VB.Net Standard 2003 supplied for a class and I need to install Msde and the sample databases to work on homework. Following the documentation I can download...
0
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug...
6
by: David Waz... | last post by:
Moved an app from W/2000 Asp V1.0 to W/2003, VS/2003, ASPV 1.1 Page runs a long job, uploading 2 large fixed length files (300,000 rows) into SQL database. A process is run against the data,...
22
by: EP | last post by:
When running my asp.net hosting service (asp.net without IIS), on server 2003 with IIS not installed, I get the following when trying to process a request. "System.DllNotFoundException: Unable to...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.