The information in this article applies to:
SYMPTOMSYou have a DataTimePicker control's CustomFormat property set, but when you set the Format property to dtpCustom, the CustomFormat is not used. RESOLUTIONWhen 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. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONSteps to Reproduce Behavior
REFERENCES
For additional information, please see the following article in the
Microsoft Knowledge Base:
Q186424 : INFO: DateTimePicker CustomFormat Is Case-Sensitive Additional query words: kbDSupport kbDSD kbCtrl kbUsage kbCommon kbVBp600 kbCtrl
Keywords : kbGrpVB |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |