Re: simple datetimepicker questions

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Mafandon,

Have you ever looked to one of the thousand samples on internet about a
Numeric textbox.
What you ask you can do in the same way.

This are the answers limited to the microsoft.public.dotnet.languages.vb
newsgroup which is probably more suitable for your question because you need
the answer in code.
http://groups.google.com/group/microsoft.public.dotnet.languages.vb/search?group=microsoft.public.dotnet.languages.vb&q=numeric+textbox&qt_g=1&searchnow=Search+this+group

You can create for your dbnull date in my opinion a check if 01010001 is
entered (the lowest date possible in DateTime and than change that for a
nothing (system.vbnull) in your database.

I hope this helps,

Cor

"mafandon" <mafandon@xxxxxxxxxxxxxxxxxxxxxxxxx> schreef in bericht
news:6A416FF3-826B-4A3E-8A77-81532DD32337@xxxxxxxxxxxxxxxx
This example deals with a datetimepicker Date of Birth concept for a
windows
form in VB 2005.

Simply put, if a user wants to enter the MM/DD/YYYY using the number pad,
how can I advance the cursor to the DD and then the YYYY without needing
to
use the "/" key?? So the keystrokes look like "07041978" versus doing
"07/04/1978".

Secondly - if we don't know the D.O.B. at the time of input, we'd like to
make update the dataset with a blank (null) value.

Thanks much.


.



Relevant Pages

  • I think I have been hijacked.
    ... I am running windows xp on my Compaq Presario and Toshiba laptop, ... An internet connection appears to have been added through a USB. ... R - Registry, StartPage/SearchPage changes ... Fixed crashing bug on certain Win2000 and WinXP systems at O23 listing ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Please help with pop-ups!!
    ... Sometimes I'm not on the internet ... A1) No. Microsoft NEVER sends emails with security update attachments. ... pages where you can access Windows Update, download patches, or request ...
    (microsoft.public.security)
  • Re: Built in Admin account added
    ... system properly before putting it back on the internet. ... where to get a firewall and antivirus program are all below: ... Keep in mind during the investigation that this might NOT be a hacker ... You can also use the NETSTAT -A command that comes with Windows to look at ...
    (microsoft.public.win2000.security)
  • Re: Will computers ever be as simple and reliable as a refrigerator?
    ... > The problem is that a refrigerator does ONE thing.. ... Your computer is not connected to the Internet. ... You don't need a firewall - because you don't have any ... > using Windows XP "prettifications". ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: My words
    ... MVP - Windows Shell/User ... > MALWARE REMOVAL INSTRUCTIONS ... > There are some malwares that can destroy the internet connection ... > download all the security updates - Critical updates with Express install. ...
    (microsoft.public.windowsxp.newusers)