Have date picker open to a date that is clicked in a mshflexgrid vb6

i have 2 columns of dates in a mshflexgrid that when clicked open datepicker to the date clicked
have the new selected date entered into mshflexgrid replacing the date clicked in this format 02-25-2016 not 02/25/2016
the date picker form will close when a new date is selected
how to do this ?
project enclosed
mshflexgridtasks.zip
isnoend2001Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Martin LissOlder than dirtCommented:
Try this. You'll need to supply the .dat file. The changes are marked with "Q28863759 A".
Q28863759A.zip
0
isnoend2001Author Commented:
the year or month cannot be changed i clicked the the little cmdbuttons and the form just unloads
0
Martin LissOlder than dirtCommented:
The dtPicker does not have a way to distinguish between clicking a day or a month or a year, so I added a command button to the form that the user needs to click when they are done.
Q28863759A1.zip
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

isnoend2001Author Commented:
thanks, but i was trying to avoid using a command button, just like my first post on using frmCalendar to avoid clicks
0
Martin LissOlder than dirtCommented:
IMO it's better to have a command button and it doesn't matter it's frmDatePicker or frmCalendar. The reason I say that is that if they choose the wrong date they 1) may not even notice and 2) they'd have to do it again. With the command button they at least get a chance to confirm that they've made the choice they intended.
0
isnoend2001Author Commented:
After giving more thought i am not going to use datepicker, just frmCalendar. just need to distinguish between new and editing the grid
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.