Click here to Skip to main content
15,896,606 members
Home / Discussions / C#
   

C#

 
AnswerRe: Get thumbnail info from jpeg file Pin
Christian Graus7-Nov-06 9:13
protectorChristian Graus7-Nov-06 9:13 
Questioncreate excel Pin
fmardani7-Nov-06 0:05
fmardani7-Nov-06 0:05 
AnswerRe: create excel Pin
Pete O'Hanlon7-Nov-06 4:59
mvePete O'Hanlon7-Nov-06 4:59 
GeneralRe: create excel Pin
reviashko8-Nov-06 2:14
reviashko8-Nov-06 2:14 
QuestionGraphical Presentation Pin
Rajesh Khubchandani6-Nov-06 23:59
Rajesh Khubchandani6-Nov-06 23:59 
Questionproblem assigning user controls to a panel Pin
quiteSmart6-Nov-06 23:03
quiteSmart6-Nov-06 23:03 
AnswerRe: problem assigning user controls to a panel Pin
Martin#6-Nov-06 23:24
Martin#6-Nov-06 23:24 
QuestionConvert.ToDateTime Problem Pin
Support1236-Nov-06 22:36
Support1236-Nov-06 22:36 
Hi all,

Yesterday i had the problem when i tried to convert a string to DateTime

I wanted to do the following:

string _appDate=_CurrentSelectedDate.Date.ToString("yyyy/MM/dd");<br />
string _fromDateTime = _appDate+" "+startTime;<br />
string _endDateTime = _appDate+" "+endTime;<br />
<br />
FromTime = Convert.ToDateTime(_fromDateTime);<br />
ToTime = Convert.ToDateTime(_endDateTime);


Now in this example the value of _appDate is "2006/11/07"
the value of _startTime is "4:00 PM"
the value of _endTime is "5:00 PM"

That makes the value of _fromDateTime = "2006/11/07 4:00 PM"
and the value of _endDateTime = "2006/11/07 5:00 PM"
I checked and it is...

Now when i try to Convert.ToDateTime for the FromDate and the ToDate
The value of FromTime is 7/11/2006
and value of ToTime is 7/11/2006 Confused | :confused:

on the other computer the values are correct but not on mine...

The regional settings are the same...

Please help

"Many of life's failures are people who did not realize how close they were to success when they gave up." Thomas A. Edison

AnswerRe: Convert.ToDateTime Problem Pin
_mubashir7-Nov-06 0:29
_mubashir7-Nov-06 0:29 
GeneralRe: Convert.ToDateTime Problem Pin
Support1237-Nov-06 0:41
Support1237-Nov-06 0:41 
GeneralRe: Convert.ToDateTime Problem Pin
Support1237-Nov-06 1:23
Support1237-Nov-06 1:23 
GeneralRe: Convert.ToDateTime Problem Pin
Support1237-Nov-06 2:59
Support1237-Nov-06 2:59 
AnswerRe: Convert.ToDateTime Problem Pin
lainoo7-Nov-06 13:40
lainoo7-Nov-06 13:40 
QuestionImage displaying on a form in treeview....a fileload error Pin
samtam6-Nov-06 21:57
samtam6-Nov-06 21:57 
AnswerRe: Image displaying on a form in treeview....a fileload error Pin
beatles16926-Nov-06 23:14
beatles16926-Nov-06 23:14 
Questionhow to assign relative path to the initialdirectory property of openfiledialog in C# Pin
kalaveer6-Nov-06 21:53
kalaveer6-Nov-06 21:53 
AnswerRe: how to assign relative path to the initialdirectory property of openfiledialog in C# Pin
V.6-Nov-06 22:40
professionalV.6-Nov-06 22:40 
GeneralRe: how to assign relative path to the initialdirectory property of openfiledialog in C# Pin
kalaveer7-Nov-06 0:44
kalaveer7-Nov-06 0:44 
GeneralRe: how to assign relative path to the initialdirectory property of openfiledialog in C# Pin
V.7-Nov-06 0:46
professionalV.7-Nov-06 0:46 
QuestionProblem with IIF() in C# Pin
M Riaz Bashir6-Nov-06 20:46
M Riaz Bashir6-Nov-06 20:46 
AnswerRe: Problem with IIF() in C# Pin
CWIZO6-Nov-06 20:50
CWIZO6-Nov-06 20:50 
AnswerRe: Problem with IIF() in C# Pin
Tuwing.Sabado6-Nov-06 21:59
Tuwing.Sabado6-Nov-06 21:59 
QuestionI got confused with "Interop.Outlook" and "Microsoft.Office.Interop.Outlook" Pin
OctopusThu6-Nov-06 20:41
OctopusThu6-Nov-06 20:41 
QuestionTrapeze-shaped form... Pin
c_onica6-Nov-06 20:09
c_onica6-Nov-06 20:09 
AnswerRe: Trapeze-shaped form... Pin
AB77717-Nov-06 1:15
AB77717-Nov-06 1:15 

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.