Article ID: 223118 - Last Review: May 12, 2003 - Revision: 2.1 FIX: PSET Method Is Slower in Visual Basic 6.0This article was previously published under Q223118 On This PageSYMPTOMS
A project created in Visual Basic 5.0 uses the PSet method to change the color of pixels in an object. The project is compiled into an executable file using Visual Basic 5.0. When the same project is compiled using Visual Basic 6.0, the executable file runs noticeably slower than the Visual Basic 5.0 version. The expected behavior is that the Visual Basic 6.0 application should run at least as fast as the Visual Basic 5.0 application.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base: 194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why (http://support.microsoft.com/kb/194022/EN-US/ ) 194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed (http://support.microsoft.com/kb/194295/EN-US/ ) MORE INFORMATION
This section demonstrates how to create a sample project that reproduces the bug behavior. It assumes that you have Visual Basic 5.0 and 6.0 installed on the same or identical machines. It also assumes that you are familiar with the PSet Method and compiling projects. If you are not familiar with these tasks, see the REFERENCES section below for more information.
Steps to Reproduce Behavior
REFERENCES
Please see:
| Article Translations
|
Back to the top
