
Patrick B. answered 01/31/21
Math and computer tutor/teacher
Do not use a text box for this, as it is confusing to the user and bad UI design practice.
.Use a LABEL instead.. Always use LABELS instead of disabled text boxes
Change the NAME property to LabelRegistrationDate
You can set the BorderStyle property to FixedSingle or Fixed3D
If you have VB.net, the statement you need is:
LabelRegistrationDate.Text = Format(Now, "yyyy-MM-dd")
For vb 6, the statement is
LabelRegistrationDate.Caption = Format(Now, "yyyy-MM-dd")