Click here to Skip to main content
15,905,683 members
Home / Discussions / C#
   

C#

 
QuestionProblem with com creation in C# Pin
Arish rivlin19-Jan-09 3:00
Arish rivlin19-Jan-09 3:00 
AnswerRe: Problem with com creation in C# Pin
Not Active19-Jan-09 3:20
mentorNot Active19-Jan-09 3:20 
QuestionHow to get the list of Href Links From HTML Pin
wasimsharp19-Jan-09 2:39
wasimsharp19-Jan-09 2:39 
AnswerRe: How to get the list of Href Links From HTML Pin
Paddy Boyd19-Jan-09 2:42
Paddy Boyd19-Jan-09 2:42 
AnswerRe: How to get the list of Href Links From HTML Pin
J a a n s19-Jan-09 3:52
professionalJ a a n s19-Jan-09 3:52 
QuestionCultureInfo and DateTime settings Pin
Rick van Woudenberg19-Jan-09 2:33
Rick van Woudenberg19-Jan-09 2:33 
AnswerRe: CultureInfo and DateTime settings Pin
Arish rivlin19-Jan-09 3:05
Arish rivlin19-Jan-09 3:05 
GeneralRe: CultureInfo and DateTime settings Pin
Rick van Woudenberg19-Jan-09 4:43
Rick van Woudenberg19-Jan-09 4:43 
Thank you for your feedback,

it does indeed fix half of my problem. I can get the date right in the logfile, however .. it will not fix the below calculation :

DateTime lastTime = Convert.ToDateTime(dt.Rows[lastRow]["date"].ToString());


Where the value in the DataTable is "19-01-2009 13:45:59", the error is :

1/19/2009 4:34:24 PM System.FormatException: String was not recognized as a valid DateTime.
   at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   at System.DateTime.Parse(String s, IFormatProvider provider)
   at System.Convert.ToDateTime(String value)
   at Loudnixx_RealTime.RealTimeRadar.ExceedTrackTime()
   at Loudnixx_RealTime.RealTimeRadar.ProcessString(String dat)
   at Loudnixx_RealTime.RealTimeRadar.Listen() 


Somehow there has to be a way to set it globally throughout the program.

Can you point me in the right direction ?

kind regards,
GeneralRe: CultureInfo and DateTime settings Pin
Arish rivlin19-Jan-09 5:51
Arish rivlin19-Jan-09 5:51 
GeneralRe: CultureInfo and DateTime settings Pin
Vikram A Punathambekar19-Jan-09 6:31
Vikram A Punathambekar19-Jan-09 6:31 
GeneralRe: CultureInfo and DateTime settings Pin
Rick van Woudenberg19-Jan-09 11:31
Rick van Woudenberg19-Jan-09 11:31 
GeneralRe: CultureInfo and DateTime settings Pin
Vikram A Punathambekar20-Jan-09 4:31
Vikram A Punathambekar20-Jan-09 4:31 
QuestionVirtual com port Pin
queries36519-Jan-09 2:22
queries36519-Jan-09 2:22 
AnswerRe: Virtual com port Pin
Bharat Jain19-Jan-09 3:44
Bharat Jain19-Jan-09 3:44 
GeneralRe: Virtual com port Pin
queries36519-Jan-09 4:04
queries36519-Jan-09 4:04 
GeneralRe: Virtual com port Pin
Dan Neely19-Jan-09 4:59
Dan Neely19-Jan-09 4:59 
GeneralRe: Virtual com port Pin
queries36519-Jan-09 19:00
queries36519-Jan-09 19:00 
GeneralRe: Virtual com port Pin
Dan Neely20-Jan-09 4:47
Dan Neely20-Jan-09 4:47 
GeneralRe: Virtual com port Pin
queries36520-Jan-09 19:21
queries36520-Jan-09 19:21 
AnswerRe: Virtual com port [modified] Pin
Luc Pattyn19-Jan-09 4:37
sitebuilderLuc Pattyn19-Jan-09 4:37 
GeneralRe: Virtual com port Pin
queries36519-Jan-09 19:03
queries36519-Jan-09 19:03 
AnswerRe: Virtual com port [modified] Pin
Luc Pattyn20-Jan-09 1:32
sitebuilderLuc Pattyn20-Jan-09 1:32 
GeneralRe: Virtual com port Pin
queries36520-Jan-09 4:08
queries36520-Jan-09 4:08 
QuestionWebBrowser in C# Pin
trinm198719-Jan-09 2:11
trinm198719-Jan-09 2:11 
AnswerRe: WebBrowser in C# Pin
musefan19-Jan-09 2:27
musefan19-Jan-09 2:27 

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.