Advertisement

03.05.2008 at 04:06PM PST, ID: 23218028
[x]
Attachment Details

Date Format in Windows App

Asked by chechomoon in Visual Studio .NET 2003, Microsoft Visual Basic.Net

Tags: VB.Net, Cast from string "31/3/2008" to type 'Date' is not valid

I have a Windows App with some DateTimePicker controls in my App I use date format like 'dd/MM/yyyy', when distrubute my app to other PC with another Regional Configuration (DateFormat 'MM/dd/yyyy') I get some errors like "Cast from string "31/3/2008" to type 'Date' is not valid".

I want to keep DateFormat 'dd/MM/yyyy' not matter PC regional configuration. I'm using VB.net 2003.

Any suggest?

Thanks in advance.Start Free Trial
[+][-]03.05.2008 at 04:52PM PST, ID: 21056356

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.05.2008 at 11:24PM PST, ID: 21058093

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.06.2008 at 03:59AM PST, ID: 21059286

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.06.2008 at 09:26AM PST, ID: 21062621

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.06.2008 at 09:58AM PST, ID: 21062960

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.06.2008 at 12:08PM PST, ID: 21064165

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.06.2008 at 12:08PM PST, ID: 21064174

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.06.2008 at 02:57PM PST, ID: 21065644

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio .NET 2003, Microsoft Visual Basic.Net
Tags: VB.Net, Cast from string "31/3/2008" to type 'Date' is not valid
Sign Up Now!
Solution Provided By: Sancler
Participating Experts: 3
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628