BUG: DateTimePicker's CustomFormat May Be Ignored (187233)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q187233 SYMPTOMS
You have a DataTimePicker control's CustomFormat property set, but when you
set the Format property to dtpCustom, the CustomFormat is not used.
RESOLUTION
When you set a DateTimePicker's Format property to dtpCustom, you must
follow this by assigning the CustomFormat property, even if it already
contains a valid format string. This assignment to CustomFormat may be a
new string value or it may be assigned to itself.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
REFERENCES
For additional information, please see the following article in the
Microsoft Knowledge Base:
186424
: INFO: DateTimePicker CustomFormat Is Case-Sensitive
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbbug KB187233 |
---|
|