Click here to Skip to main content
16,015,900 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Runtime table generation and filling data from Ms Access? Pin
.NetRams16-Jun-07 0:09
.NetRams16-Jun-07 0:09 
QuestionRe: Runtime table generation and filling data from Ms Access? Pin
venu_dil16-Jun-07 6:24
venu_dil16-Jun-07 6:24 
Questionget date format Pin
Jayesh Talsaniya15-Jun-07 23:15
Jayesh Talsaniya15-Jun-07 23:15 
AnswerRe: get date format Pin
.NetRams16-Jun-07 0:12
.NetRams16-Jun-07 0:12 
GeneralRe: get date format Pin
Jayesh Talsaniya16-Jun-07 0:16
Jayesh Talsaniya16-Jun-07 0:16 
GeneralRe: get date format Pin
.NetRams16-Jun-07 0:22
.NetRams16-Jun-07 0:22 
GeneralRe: get date format Pin
Jayesh Talsaniya16-Jun-07 0:24
Jayesh Talsaniya16-Jun-07 0:24 
GeneralRe: get date format Pin
Dave Kreskowiak16-Jun-07 12:01
mveDave Kreskowiak16-Jun-07 12:01 
Unless you limit the input of the user, there's no way to tell what format the date is in, reliably. Think about it. Which number is the month and which is the day in "6/6/07"? With restricting the user to a known format, it's impossible to tell. You could get a good clue if you looked at the culture information though. Chances are, the entered date will follow the standard format for a country. Mostly... Check out the CultureInfo class. You can get the current culture your code is running under and get the DateTimeFormat from there. This would be the culture of the O/S is setup for, NOT necessarily the one the user typed into a TextBox.



A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


QuestionRadiobutton inside gridview Pin
sgkani15-Jun-07 21:38
sgkani15-Jun-07 21:38 
AnswerRe: Radiobutton inside gridview Pin
Duane in Japan17-Jun-07 0:22
Duane in Japan17-Jun-07 0:22 
QuestionHow to perform direct edit,add ,update and delete operations on datagridview in vb.net. Pin
hbk_leo15-Jun-07 20:20
hbk_leo15-Jun-07 20:20 
GeneralRe: How to perform direct edit,add ,update and delete operations on datagridview in vb.net. Pin
venu_dil16-Jun-07 0:08
venu_dil16-Jun-07 0:08 
GeneralRe: How to perform direct edit,add ,update and delete operations on datagridview in vb.net. Pin
hbk_leo16-Jun-07 21:02
hbk_leo16-Jun-07 21:02 
QuestionProject Database Pin
'Drew15-Jun-07 12:04
'Drew15-Jun-07 12:04 
QuestionInserting new records in a child table Pin
Psyfo15-Jun-07 11:31
Psyfo15-Jun-07 11:31 
AnswerRe: Inserting new records in a child table Pin
bigjokey15-Jun-07 12:10
bigjokey15-Jun-07 12:10 
QuestionVB.Net Custom ListView Row Height Pin
bigjokey15-Jun-07 10:38
bigjokey15-Jun-07 10:38 
AnswerRe: VB.Net Custom ListView Row Height PinPopular
Tarakeshwar Reddy15-Jun-07 10:54
professionalTarakeshwar Reddy15-Jun-07 10:54 
GeneralRe: VB.Net Custom ListView Row Height Pin
bigjokey15-Jun-07 11:13
bigjokey15-Jun-07 11:13 
QuestionExporting data of Datagrids to Excel in VB.NET Pin
hsprasain15-Jun-07 9:59
hsprasain15-Jun-07 9:59 
AnswerRe: Exporting data of Datagrids to Excel in VB.NET Pin
Taylor Kobani16-Jun-07 4:19
Taylor Kobani16-Jun-07 4:19 
GeneralRe: Exporting data of Datagrids to Excel in VB.NET Pin
hsprasain16-Jun-07 10:09
hsprasain16-Jun-07 10:09 
QuestionContextmenu not always showing on right clicking DataGrid Pin
GuyThiebaut15-Jun-07 9:17
professionalGuyThiebaut15-Jun-07 9:17 
AnswerRe: Contextmenu not always showing on right clicking DataGrid Pin
Taylor Kobani16-Jun-07 4:29
Taylor Kobani16-Jun-07 4:29 
GeneralRe: Contextmenu not always showing on right clicking DataGrid Pin
GuyThiebaut16-Jun-07 6:34
professionalGuyThiebaut16-Jun-07 6:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.