Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 24th, 2006, 01:08 AM
Registered User
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default probelm date format in MsMaskedEditControl

I want to entry date in MaskedEditControl
I set format="dd-MMM-yyyy"
Mask="##-##-####"

I want to first 2 digits for Day,Next 2 digits for Month and last 4 digits for Year

If my windows regional setting short Date format dd-mm-yy it works fine.
if month is first for regional settings suppose mm-dd-yy then
after entering in the Masked edit control it reconize first 2 digits for month
suppose
I enter 12-08-2006 then it show 08-dec-2006 when regional settings mm-dd-yy
I enter 12-08-2006 then it show 12-Aug-2006 when regional settings dd-mm-yy

but I want to not depend on regional setting and also not set regional setting by my app.

I want whatever regional setting I want to show 12-aug-2006 with Masked edit Box.

help me plz.
shamim







Similar Threads
Thread Thread Starter Forum Replies Last Post
date format differs, need to force format somehow patricolsson ASP.NET 2.0 Basics 1 December 3rd, 2009 12:53 AM
Convert British format date to American format? fyr PHP How-To 0 December 19th, 2007 03:17 PM
Help with date format gregalb SQL Server 2000 1 February 13th, 2007 10:15 AM
How to give Date format while entering date Subuana Beginning VB 6 4 March 17th, 2006 07:25 AM
date format differs, need to force format somehow patricolsson HTML Code Clinic 2 January 12th, 2006 05:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.