Click here to Skip to main content
15,900,110 members
Home / Discussions / C#
   

C#

 
QuestionParallel Port Polling Pin
GlenET31-May-09 4:31
GlenET31-May-09 4:31 
AnswerRe: Parallel Port Polling Pin
0x3c031-May-09 5:30
0x3c031-May-09 5:30 
GeneralRe: Parallel Port Polling Pin
GlenET31-May-09 6:31
GlenET31-May-09 6:31 
GeneralRe: Parallel Port Polling Pin
0x3c031-May-09 7:00
0x3c031-May-09 7:00 
GeneralRe: Parallel Port Polling Pin
GlenET5-Jun-09 6:31
GlenET5-Jun-09 6:31 
QuestionConverting math equations to C# Pin
livewirerules31-May-09 4:13
livewirerules31-May-09 4:13 
AnswerRe: Converting math equations to C# Pin
harold aptroot31-May-09 4:28
harold aptroot31-May-09 4:28 
GeneralRe: Converting math equations to C# Pin
livewirerules31-May-09 4:35
livewirerules31-May-09 4:35 
GeneralRe: Converting math equations to C# Pin
molesworth31-May-09 6:40
molesworth31-May-09 6:40 
QuestionConverting math equations to C or C++ Pin
mohamad-n10-May-11 21:09
mohamad-n10-May-11 21:09 
Questionget newly inserted records or updated records from access tables Pin
Abdul Rahman Hamidy31-May-09 2:46
Abdul Rahman Hamidy31-May-09 2:46 
AnswerRe: get newly inserted records or updated records from access tables Pin
Luc Pattyn31-May-09 2:59
sitebuilderLuc Pattyn31-May-09 2:59 
AnswerRe: get newly inserted records or updated records from access tables Pin
Dave Kreskowiak31-May-09 3:32
mveDave Kreskowiak31-May-09 3:32 
QuestionHow to add a application to system menu and Startup in System Configuration Utility? Pin
tannghia31-May-09 1:56
tannghia31-May-09 1:56 
AnswerRe: How to add a application to system menu and Startup in System Configuration Utility? Pin
mrcooll31-May-09 2:03
mrcooll31-May-09 2:03 
AnswerRe: How to add a application to system menu and Startup in System Configuration Utility? Pin
0x3c031-May-09 2:09
0x3c031-May-09 2:09 
AnswerRe: How to add a application to system menu and Startup in System Configuration Utility? Pin
Luc Pattyn31-May-09 2:43
sitebuilderLuc Pattyn31-May-09 2:43 
AnswerRe: How to add a application to system menu and Startup in System Configuration Utility? Pin
Giorgi Dalakishvili31-May-09 3:15
mentorGiorgi Dalakishvili31-May-09 3:15 
QuestionHow to use swf file in C#? Pin
SNI31-May-09 1:38
SNI31-May-09 1:38 
AnswerRe: How to use swf file in C#? Pin
0x3c031-May-09 1:43
0x3c031-May-09 1:43 
GeneralRe: How to use swf file in C#? Pin
SNI31-May-09 3:22
SNI31-May-09 3:22 
GeneralRe: How to use swf file in C#? Pin
0x3c031-May-09 7:06
0x3c031-May-09 7:06 
QuestionTime Calculation Pin
indian2231-May-09 0:54
indian2231-May-09 0:54 
AnswerRe: Time Calculation Pin
mrcooll31-May-09 1:15
mrcooll31-May-09 1:15 
GeneralRe: Time Calculation Pin
indian2231-May-09 1:23
indian2231-May-09 1:23 
 DateTime date1 = System.Convert.ToDateTime(txtstarttime.Text);

DateTime date2 = System.Convert.ToDateTime(txtendtime.Text);
TimeSpan ts = new TimeSpan();

ts = date2.Subtract(date1);
DateTime dt = DateTime.MinValue.Add(ts);
 txttottime.Text=ts.Hours + ":" + ts.Minutes + ":" + ts.Seconds  ;


I have used this but it Produce error when the given values are greater than 24

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.