-
Screen Object Bug in SP4
A few weeks ago I posted a message here about a new bug in the Screen object
that appears to have been introduced in Service Pack 4. This bug causes
the Screen object to report incorrect values for Width and/or Height. For
example:
?screen.Width
10368
?screen.Height
10368
Note that the Screen object is returning the exact same number for both Width
and Height. Needless to say, I do *not* have a perfectly square monitor
so these values are obviously wrong.
At the time, the bug appeared to be intermittant; I wasn't sure why it happened
sometimes and sometimes it didn't. After talking it over with another programmer,
I think I finally figured it out. The problem seems to occur whenever the
screen resolution changes.
I've submitted this bug to Microsoft, however, they are incredibly unresponsive
when it comes to fixing or even acknowledging bugs in their software. If
you can reproduce this bug, feel free to report it as well.
http://support.microsoft.com/support/feedback/
- Jim
-
Re: Screen Object Bug in SP4
I can't duplicate your bug on either of my systems.. very odd I'd say
that you're getting those values. I'm running VB6 Service Pack 4
Enterprise edition.
Ron
On 14 Dec 2000 16:47:58 -0800, "Jim Pragit" <NoSpam@NoSpam.com> wrote:
>
>A few weeks ago I posted a message here about a new bug in the Screen object
>that appears to have been introduced in Service Pack 4. This bug causes
>the Screen object to report incorrect values for Width and/or Height. For
>example:
>
>?screen.Width
> 10368
>?screen.Height
> 10368
>
>Note that the Screen object is returning the exact same number for both Width
>and Height. Needless to say, I do *not* have a perfectly square monitor
>so these values are obviously wrong.
>
>At the time, the bug appeared to be intermittant; I wasn't sure why it happened
>sometimes and sometimes it didn't. After talking it over with another programmer,
>I think I finally figured it out. The problem seems to occur whenever the
>screen resolution changes.
>
>I've submitted this bug to Microsoft, however, they are incredibly unresponsive
>when it comes to fixing or even acknowledging bugs in their software. If
>you can reproduce this bug, feel free to report it as well.
>
>http://support.microsoft.com/support/feedback/
>
>- Jim
>
-
Re: Screen Object Bug in SP4
Microsoft Article ID: Q253940 dated March 31,2000
discusses something similar (width=height) but only in the context of a screen
resolution resize.
URL below.
http://support.microsoft.com/support.../Q253/9/40.ASP
Their suggested work around is to use the API
GetDeviceCaps. The article provides an example.
Hope this helps.
Kevin
"Jim Pragit" <NoSpam@NoSpam.com> wrote:
>
>A few weeks ago I posted a message here about a new bug in the Screen object
>that appears to have been introduced in Service Pack 4. This bug causes
>the Screen object to report incorrect values for Width and/or Height. For
>example:
>
>?screen.Width
> 10368
>?screen.Height
> 10368
>
>Note that the Screen object is returning the exact same number for both
Width
>and Height. Needless to say, I do *not* have a perfectly square monitor
>so these values are obviously wrong.
>
>At the time, the bug appeared to be intermittant; I wasn't sure why it happened
>sometimes and sometimes it didn't. After talking it over with another programmer,
>I think I finally figured it out. The problem seems to occur whenever the
>screen resolution changes.
>
>I've submitted this bug to Microsoft, however, they are incredibly unresponsive
>when it comes to fixing or even acknowledging bugs in their software. If
>you can reproduce this bug, feel free to report it as well.
>
>http://support.microsoft.com/support/feedback/
>
>- Jim
>
-
Re: Screen Object Bug in SP4
Interesting, the article seems to address the same issue but pre-dates Service
Pack 4. It could be that this bug was introduced in 6.0 and something in
SP4 exacerbated the problem.
- Jim
"Kevin" <KDM@worldnet.net> wrote:
>
>Microsoft Article ID: Q253940 dated March 31,2000
>discusses something similar (width=height) but only in the context of a
screen
>resolution resize.
>
>URL below.
>http://support.microsoft.com/support.../Q253/9/40.ASP
>
>Their suggested work around is to use the API
>GetDeviceCaps. The article provides an example.
>
>Hope this helps.
>
>Kevin
>
>
>"Jim Pragit" <NoSpam@NoSpam.com> wrote:
>>
>>A few weeks ago I posted a message here about a new bug in the Screen object
>>that appears to have been introduced in Service Pack 4. This bug causes
>>the Screen object to report incorrect values for Width and/or Height.
For
>>example:
>>
>>?screen.Width
>> 10368
>>?screen.Height
>> 10368
>>
>>Note that the Screen object is returning the exact same number for both
>Width
>>and Height. Needless to say, I do *not* have a perfectly square monitor
>>so these values are obviously wrong.
>>
>>At the time, the bug appeared to be intermittant; I wasn't sure why it
happened
>>sometimes and sometimes it didn't. After talking it over with another
programmer,
>>I think I finally figured it out. The problem seems to occur whenever
the
>>screen resolution changes.
>>
>>I've submitted this bug to Microsoft, however, they are incredibly unresponsive
>>when it comes to fixing or even acknowledging bugs in their software.
If
>>you can reproduce this bug, feel free to report it as well.
>>
>>http://support.microsoft.com/support/feedback/
>>
>>- Jim
>>
>
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks