Hello,

When i enter a date in datetimepicker (vb 2005) i have to press to key "/"
or the key right to get from day to month and then to year. That can be a
major drawback for fast data entry. I want to type just the day and the month
and the year.no other characters

Is there anyway to overcome this behaviour with the specific control?

Re: DateTimePicker Fast Data entry problem by RobinS

RobinS
Thu Jan 25 16:01:28 CST 2007

Use a masked text box instead.

Robin S.
----------------------------------------------
"WoodenSWord" <WoodenSWord@discussions.microsoft.com> wrote in message
news:01FD3E5C-BC27-494C-A42D-86119292C3D0@microsoft.com...
> Hello,
>
> When i enter a date in datetimepicker (vb 2005) i have to press to key
> "/"
> or the key right to get from day to month and then to year. That can
> be a
> major drawback for fast data entry. I want to type just the day and
> the month
> and the year.no other characters
>
> Is there anyway to overcome this behaviour with the specific control?



Re: DateTimePicker Fast Data entry problem by Jared

Jared
Thu Jan 25 17:13:39 CST 2007

I would try something like form1.keypreview = true and sendkeys to send
tab/arrow or if that doesnt work maybe a addfilter


Re: DateTimePicker Fast Data entry problem by WoodenSWord

WoodenSWord
Fri Jan 26 04:01:00 CST 2007

Thanks for the reply.
A masked text box has this feature but has not a most important. Using
masked textbox there is no validation of date while editing. E.g. the
datetimepicker does not allow you to enter 31/02/2007 and changes this value
when you write the month after day. So, masked textbox is not a better
solution.

"RobinS" wrote:

> Use a masked text box instead.
>
> Robin S.
> ----------------------------------------------
> "WoodenSWord" <WoodenSWord@discussions.microsoft.com> wrote in message
> news:01FD3E5C-BC27-494C-A42D-86119292C3D0@microsoft.com...
> > Hello,
> >
> > When i enter a date in datetimepicker (vb 2005) i have to press to key
> > "/"
> > or the key right to get from day to month and then to year. That can
> > be a
> > major drawback for fast data entry. I want to type just the day and
> > the month
> > and the year.no other characters
> >
> > Is there anyway to overcome this behaviour with the specific control?
>
>
>