SetText(\"dd/mm/yy\") in VB app not entered correctly
I have a VB App and with three of the editboxes I am trying to set a date...
I am using
(which is exactly how you would type it in, there is no input mask of any kind)
However when this command executes, the editbox contains exactly the following, instead of the specified date:
In addition, prior to entering this data... the form is locked from editing... so I've got a function checking to see if the objects are locked, if they are then 'allow editing' is selected in the menu to allow editing and hence unlock the objects. I then check to ensure the objects are unlocked.
The reason I've stated this,is because if you send the SetText, on it's own while the application is ready for editing (just for debugging purposes)... it works ok.
Any ideas why this may happen?
To get around it for the moment, I'm not entering a date and leaving these fields blank, but I would like to enter the dates anyway.
[This message has been edited by Beeblemaster (edited 06-28-2001).]