Click here to Skip to main content
15,902,189 members
Home / Discussions / C#
   

C#

 
AnswerRe: send mail using c# Pin
blackhattrick19-Jun-09 11:46
blackhattrick19-Jun-09 11:46 
AnswerRe: send mail using c# Pin
Christian Graus19-Jun-09 12:42
protectorChristian Graus19-Jun-09 12:42 
GeneralRe: send mail using c# Pin
rishavraj19-Jun-09 23:55
rishavraj19-Jun-09 23:55 
QuestionSystem.Security.SecurityException Pin
lump1067019-Jun-09 11:25
lump1067019-Jun-09 11:25 
AnswerRe: System.Security.SecurityException Pin
Christian Graus19-Jun-09 11:34
protectorChristian Graus19-Jun-09 11:34 
GeneralRe: System.Security.SecurityException Pin
lump1067022-Jun-09 2:24
lump1067022-Jun-09 2:24 
Questiontwo way serial communication Pin
Arpita Patel19-Jun-09 11:05
Arpita Patel19-Jun-09 11:05 
AnswerRe: two way serial communication Pin
Luc Pattyn19-Jun-09 11:45
sitebuilderLuc Pattyn19-Jun-09 11:45 
Hi,

The problem of mixing floats and text needs some kind of protocol. One can come up with several schemes, it depends on the kind of [ero[heral device (speed, memory, language), and the relative amount of floats versus text.

For your float data there basically are two ways to approach this:

1. use binary data, i.e. send bytes, not characters.

2. use strings to represent your float data; either apply ToString() when sending, and float.TryParse() when receiving (=more bytes, and some loss of precision); or get the bytes of a float, and turn them into a readable string, e.g. using base64 conversion (=4 ASCII char for 3 bytes of data) or hex (=2 ASCII char for 1 byte of data).

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.

GeneralRe: two way serial communication Pin
PIEBALDconsult19-Jun-09 12:53
mvePIEBALDconsult19-Jun-09 12:53 
GeneralRe: two way serial communication Pin
Luc Pattyn19-Jun-09 12:58
sitebuilderLuc Pattyn19-Jun-09 12:58 
Questiontrying to communication between two form in different project under one solution Pin
Arpita Patel19-Jun-09 10:25
Arpita Patel19-Jun-09 10:25 
AnswerRe: trying to communication between two form in different project under one solution Pin
Christian Graus19-Jun-09 11:20
protectorChristian Graus19-Jun-09 11:20 
AnswerRe: trying to communication between two form in different project under one solution Pin
Shukla Rahul20-Jun-09 10:24
Shukla Rahul20-Jun-09 10:24 
QuestionC# command to turn off pc Pin
Samb198519-Jun-09 9:31
Samb198519-Jun-09 9:31 
AnswerRe: C# command to turn off pc Pin
MumbleB19-Jun-09 9:51
MumbleB19-Jun-09 9:51 
AnswerRe: C# command to turn off pc Pin
0x3c019-Jun-09 10:06
0x3c019-Jun-09 10:06 
GeneralRe: C# command to turn off pc Pin
Baeltazor19-Jun-09 17:37
Baeltazor19-Jun-09 17:37 
QuestionConverting Access Forms to WinForms or WPF Pin
Fenshaw19-Jun-09 9:29
Fenshaw19-Jun-09 9:29 
AnswerRe: Converting Access Forms to WinForms or WPF Pin
Dan Neely19-Jun-09 9:47
Dan Neely19-Jun-09 9:47 
AnswerRe: Converting Access Forms to WinForms or WPF Pin
Dave Kreskowiak19-Jun-09 10:36
mveDave Kreskowiak19-Jun-09 10:36 
GeneralRe: Converting Access Forms to WinForms or WPF Pin
Dan Neely19-Jun-09 10:41
Dan Neely19-Jun-09 10:41 
GeneralRe: Converting Access Forms to WinForms or WPF Pin
andyc0118-Mar-11 19:42
andyc0118-Mar-11 19:42 
GeneralRe: Converting Access Forms to WinForms or WPF Pin
Dave Kreskowiak19-Mar-11 5:00
mveDave Kreskowiak19-Mar-11 5:00 
AnswerRe: Converting Access Forms to WinForms or WPF Pin
riced20-Jun-09 3:54
riced20-Jun-09 3:54 
GeneralRe: Converting Access Forms to WinForms or WPF Pin
JohnAndrews18-May-10 15:58
JohnAndrews18-May-10 15:58 

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.