Click here to Skip to main content
15,926,281 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionDate string conversion problem Pin
TheComputerMan19-May-10 15:55
TheComputerMan19-May-10 15:55 
AnswerRe: Date string conversion problem Pin
Luc Pattyn19-May-10 16:20
sitebuilderLuc Pattyn19-May-10 16:20 
GeneralRe: Date string conversion problem Pin
Dalek Dave19-May-10 21:54
professionalDalek Dave19-May-10 21:54 
GeneralRe: Date string conversion problem Pin
TheComputerMan19-May-10 22:39
TheComputerMan19-May-10 22:39 
GeneralRe: Date string conversion problem Pin
Dalek Dave19-May-10 22:53
professionalDalek Dave19-May-10 22:53 
GeneralRe: Date string conversion problem Pin
TheComputerMan19-May-10 22:56
TheComputerMan19-May-10 22:56 
GeneralRe: Date string conversion problem Pin
Luc Pattyn20-May-10 2:04
sitebuilderLuc Pattyn20-May-10 2:04 
GeneralRe: Date string conversion problem Pin
TheComputerMan19-May-10 22:30
TheComputerMan19-May-10 22:30 
Hi Luc,

Thanks for the response. I have tried it in American date format and specifying a formatter and none of it seems to work.

Originally as I stated I had the conversions in. I will try the TryParse. You have at least identified for the the fact that it is something to do with the fact that the code is not running as a user, and for that I thank you. Smile | :)

Obviously without the declarations of the constants it is not so readable, but I do it that way to make it more readable. I find that astrData(LATITUDE) is easier to understand when I come back to the code later than astrData(4)

I am curious as to what you don't like about the identifier names? Please enlighten me as I learnt to program over the last 30 years starting in the days of ANSI Basic 1.0 and things have probably changed a bit. My variables always have an identifier for the type, i.e. bGood, strBad, cmdClick etc etc and I was taught that constants should be capitalised and split with and underline to make them readable. It is all named as to it's purpose. i.e QUOTE is a quote ( ' ) and COMMA is a comma ( , ). You might find it a mite curious that I use & QUOTE & COMMA because I have had so many problems debugging this type of thing recently since I find "', very dificult to read in the editor - maybe because I am using Arial font, and the eyesight is not what it used to be, so doing it this way I don't get it wrong. But I am always open to new suggestins to make the code better.
GeneralRe: Date string conversion problem Pin
Wayne Gaylard20-May-10 0:33
professionalWayne Gaylard20-May-10 0:33 
GeneralRe: Date string conversion problem Pin
TheComputerMan20-May-10 0:41
TheComputerMan20-May-10 0:41 
GeneralRe: Date string conversion problem Pin
Luc Pattyn20-May-10 2:01
sitebuilderLuc Pattyn20-May-10 2:01 
AnswerRe: Date string conversion problem Pin
TheComputerMan20-May-10 2:13
TheComputerMan20-May-10 2:13 
GeneralRe: Date string conversion problem Pin
Luc Pattyn20-May-10 2:24
sitebuilderLuc Pattyn20-May-10 2:24 
GeneralRe: Date string conversion problem Pin
TheComputerMan20-May-10 2:32
TheComputerMan20-May-10 2:32 
AnswerRe: Date string conversion problem Pin
George B Gilbert23-May-10 22:43
George B Gilbert23-May-10 22:43 
Questionvb.net mscomm problem Pin
tuolesi19-May-10 15:40
tuolesi19-May-10 15:40 
AnswerRe: vb.net mscomm problem Pin
Luc Pattyn19-May-10 16:25
sitebuilderLuc Pattyn19-May-10 16:25 
QuestionSubstring Function on Me.Invoke??? Pin
Dominick Marciano19-May-10 15:31
professionalDominick Marciano19-May-10 15:31 
AnswerRe: Substring Function on Me.Invoke??? Pin
Luc Pattyn19-May-10 16:43
sitebuilderLuc Pattyn19-May-10 16:43 
QuestionSuggestions for passing arrays of data between executables in VB.net Pin
Troy Edson-Smith19-May-10 12:45
Troy Edson-Smith19-May-10 12:45 
AnswerRe: Suggestions for passing arrays of data between executables in VB.net Pin
Luc Pattyn19-May-10 13:02
sitebuilderLuc Pattyn19-May-10 13:02 
GeneralRe: Suggestions for passing arrays of data between executables in VB.net Pin
Troy Edson-Smith19-May-10 13:29
Troy Edson-Smith19-May-10 13:29 
GeneralRe: Suggestions for passing arrays of data between executables in VB.net Pin
Luc Pattyn19-May-10 14:00
sitebuilderLuc Pattyn19-May-10 14:00 
GeneralRe: Suggestions for passing arrays of data between executables in VB.net Pin
Troy Edson-Smith19-May-10 14:43
Troy Edson-Smith19-May-10 14:43 
QuestionLimit textbox.text to positiive and negative integers Pin
Johan Hakkesteegt19-May-10 1:02
Johan Hakkesteegt19-May-10 1:02 

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.