Click here to Skip to main content
15,894,825 members
Home / Discussions / C#
   

C#

 
QuestionC# Refresher / Bare Minimums Course Pin
C-P-User-326-Mar-14 10:43
C-P-User-326-Mar-14 10:43 
AnswerRe: C# Refresher / Bare Minimums Course Pin
BillWoodruff26-Mar-14 15:21
professionalBillWoodruff26-Mar-14 15:21 
GeneralRe: C# Refresher / Bare Minimums Course Pin
C-P-User-327-Mar-14 1:44
C-P-User-327-Mar-14 1:44 
GeneralRe: C# Refresher / Bare Minimums Course Pin
BobJanova27-Mar-14 7:00
BobJanova27-Mar-14 7:00 
AnswerRe: C# Refresher / Bare Minimums Course Pin
Ravi Bhavnani28-Mar-14 5:17
professionalRavi Bhavnani28-Mar-14 5:17 
GeneralRe: C# Refresher / Bare Minimums Course Pin
C-P-User-329-Mar-14 15:59
C-P-User-329-Mar-14 15:59 
GeneralRe: C# Refresher / Bare Minimums Course Pin
Ravi Bhavnani29-Mar-14 18:07
professionalRavi Bhavnani29-Mar-14 18:07 
GeneralRe: C# Refresher / Bare Minimums Course Pin
C-P-User-331-Mar-14 9:45
C-P-User-331-Mar-14 9:45 
Questioncross thread issue Pin
Member 1068390226-Mar-14 9:22
Member 1068390226-Mar-14 9:22 
AnswerRe: cross thread issue Pin
Richard Andrew x6426-Mar-14 11:22
professionalRichard Andrew x6426-Mar-14 11:22 
GeneralRe: cross thread issue Pin
Member 1068390226-Mar-14 16:50
Member 1068390226-Mar-14 16:50 
AnswerRe: cross thread issue Pin
Bernhard Hiller26-Mar-14 22:04
Bernhard Hiller26-Mar-14 22:04 
GeneralRe: cross thread issue Pin
Member 1068390227-Mar-14 5:51
Member 1068390227-Mar-14 5:51 
GeneralRe: cross thread issue Pin
BobJanova27-Mar-14 6:54
BobJanova27-Mar-14 6:54 
GeneralRe: cross thread issue Pin
Bernhard Hiller27-Mar-14 23:26
Bernhard Hiller27-Mar-14 23:26 
GeneralRe: cross thread issue Pin
BobJanova28-Mar-14 0:26
BobJanova28-Mar-14 0:26 
SuggestionBUILDING a GUI that talks to two energy-meters through the serial port Pin
Henri Aghaei26-Mar-14 7:51
Henri Aghaei26-Mar-14 7:51 
GeneralRe: BUILDING a GUI that talks to two energy-meters through the serial port Pin
Dave Kreskowiak26-Mar-14 8:38
mveDave Kreskowiak26-Mar-14 8:38 
GeneralRe: BUILDING a GUI that talks to two energy-meters through the serial port Pin
V.27-Mar-14 0:04
professionalV.27-Mar-14 0:04 
GeneralRe: BUILDING a GUI that talks to two energy-meters through the serial port Pin
BobJanova27-Mar-14 6:53
BobJanova27-Mar-14 6:53 
Serial port communication is definitely possible in C#/.Net. It's a low level interface though so you need to know what bits to read and write, handle wait periods and transfer rates and things like that, which require a lot of information about the chips' behaviour (i.e. documentation).

You definitely shouldn't be interacting directly with the ports from UI code. Apart from it being generally good programming practice to separate concerns (and there are at least two obvious distinct parts of this app, serial port I/O and UI; probably three if there's any logic to be done), I/O does lots of things on background threads and that really doesn't play nicely with UIs.
GeneralRe: BUILDING a GUI that talks to two energy-meters through the serial port Pin
Henri Aghaei7-Apr-14 9:18
Henri Aghaei7-Apr-14 9:18 
QuestionConvert .mp3 file to .vox in vb.net or c# Pin
Member 1070135326-Mar-14 6:46
Member 1070135326-Mar-14 6:46 
AnswerRe: Convert .mp3 file to .vox in vb.net or c# Pin
Eddy Vluggen26-Mar-14 8:02
professionalEddy Vluggen26-Mar-14 8:02 
GeneralRe: Convert .mp3 file to .vox in vb.net or c# Pin
harold aptroot26-Mar-14 8:26
harold aptroot26-Mar-14 8:26 
QuestionC# Web Forms: Add a context menu to a grid and outside grid also. Pin
AshwiniSH25-Mar-14 23:57
professionalAshwiniSH25-Mar-14 23:57 

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.