BUG: BackColor Property of OCX Control Saved in Decimal (150228)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 4.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 4.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Standard Edition for Windows 4.0
This article was previously published under Q150228 SYMPTOMS
The BackColor property of OCX controls is saved in Decimal format inside
Form files. This is contrary to the format stored for Forms, which saves
its BackColor property in a Hexadecimal format.
STATUS
Microsoft has confirmed this to be an issue in the Microsoft products
listed at the beginning of this article. Microsoft is researching this
issue and will post new information here in the Microsoft Knowledge Base
as it becomes available.
WORKAROUND
There is no workaround to prevent Visual Basic from saving the BackColor
properties of OCX controls in a Decimal format. However, any program that
parses the text Form files detects whether the number is in a Hexadecimal
format since Hexadecimal numbers are preceded by an ampersand (&)
character.
Modification Type: | Major | Last Reviewed: | 6/30/2004 |
---|
Keywords: | kbbug KB150228 |
---|
|