Results 1 to 4 of 4

Thread: date time picker to my local language

  1. #1
    New Member
    Join Date
    Aug 12
    Posts
    2

    date time picker to my local language

    can somebody help me to fix my problem. my problem is about date time picker on visual basic .net, I have an question that how to change day name to my local language and how to change day and month on calendar drop down to my local language too. I hope somebody here can help me to fix my problem, thanks for an answer my question

  2. #2
    Frenzied Member MattP's Avatar
    Join Date
    Dec 08
    Location
    WY
    Posts
    1,182

    Re: date time picker to my local language

    The DateTimePicker and Calendar controls show the language that's set in the Regional settings on the OS. You can change that in the Windows Control Panel.
    This pattern in common to all great programmers I know: they're not experts in something as much as experts in becoming experts in something.

    The best programming advice I ever got was to spend my entire career becoming educable. And I suggest you do the same.

  3. #3
    New Member
    Join Date
    Aug 12
    Posts
    2

    Re: date time picker to my local language

    Quote Originally Posted by MattP View Post
    The DateTimePicker and Calendar controls show the language that's set in the Regional settings on the OS. You can change that in the Windows Control Panel.
    can I change it from my code. without from control panel ?

  4. #4
    PowerPoster dunfiddlin's Avatar
    Join Date
    Jun 12
    Posts
    5,473

    Re: date time picker to my local language

    No. As with all Windows elements standard text in controls is externally sourced. If you wanted to determine this you would have to build your own controls from scratch using your own string resources. Of course that would mean that your application would no longer be 'international'.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •