Click here to Skip to main content
15,891,597 members
Home / Discussions / C#
   

C#

 
GeneralRe: java with c# Pin
Heath Stewart19-Feb-04 4:48
protectorHeath Stewart19-Feb-04 4:48 
Questionneed sql query? Pin
murali_utr18-Feb-04 18:46
murali_utr18-Feb-04 18:46 
AnswerRe: need sql query? Pin
John Kuhn18-Feb-04 19:26
John Kuhn18-Feb-04 19:26 
AnswerRe: need sql query? Pin
John Kuhn18-Feb-04 19:34
John Kuhn18-Feb-04 19:34 
QuestionHow to Communicate with SerialPort Use C# Programming? Pin
skywen18-Feb-04 16:16
skywen18-Feb-04 16:16 
AnswerRe: How to Communicate with SerialPort Use C# Programming? Pin
Corinna John18-Feb-04 20:53
Corinna John18-Feb-04 20:53 
GeneralRe: How to Communicate with SerialPort Use C# Programming? Pin
skywen18-Feb-04 21:09
skywen18-Feb-04 21:09 
GeneralRe: How to Communicate with SerialPort Use C# Programming? Pin
Corinna John18-Feb-04 21:24
Corinna John18-Feb-04 21:24 
Usually you open a file with the name of the serial port (COM[x]). The file doesn't exist in the file system. Whatever you write to the "file" will be sent to the serial port, messages from the device can be read from that virtual file.

//open serial port COM1<br />
FileStream fs = new FileStream("COM1", FileMode.OpenOrCreate);<br />
//sending data to the port it like writing them to a file<br />
fs.Write(...);<br />
fs.Flush();<br />


It worked with other languages, I think it should also work with .NET
GeneralRe: How to Communicate with SerialPort Use C# Programming? Pin
eggie519-Feb-04 1:48
eggie519-Feb-04 1:48 
GeneralRe: How to Communicate with SerialPort Use C# Programming? Pin
Corinna John19-Feb-04 2:41
Corinna John19-Feb-04 2:41 
Generalopening a child form from a dialog Pin
visiontec18-Feb-04 15:26
visiontec18-Feb-04 15:26 
GeneralRe: opening a child form from a dialog Pin
Bill Dean19-Feb-04 1:40
Bill Dean19-Feb-04 1:40 
GeneralRe: opening a child form from a dialog Pin
visiontec19-Feb-04 11:45
visiontec19-Feb-04 11:45 
GeneralRe: opening a child form from a dialog Pin
Bill Dean19-Feb-04 17:46
Bill Dean19-Feb-04 17:46 
GeneralRecord sound from sound card Pin
suki_yip18-Feb-04 15:21
suki_yip18-Feb-04 15:21 
GeneralRe: Record sound from sound card Pin
Heath Stewart19-Feb-04 4:43
protectorHeath Stewart19-Feb-04 4:43 
GeneralEos: aspect-oriented extension for C# Pin
Hridesh Rajan18-Feb-04 15:08
Hridesh Rajan18-Feb-04 15:08 
GeneralAutomate Legacy 3270 Applications Pin
John Kuhn18-Feb-04 14:36
John Kuhn18-Feb-04 14:36 
Generalpostback problem Pin
pardu18-Feb-04 14:34
pardu18-Feb-04 14:34 
GeneralRe: postback problem Pin
Nick Parker18-Feb-04 18:17
protectorNick Parker18-Feb-04 18:17 
General&quot;Minimize to tray&quot; button in title bar Pin
josefg18-Feb-04 12:30
josefg18-Feb-04 12:30 
GeneralRe: &quot;Minimize to tray&quot; button in title bar Pin
Heath Stewart19-Feb-04 4:38
protectorHeath Stewart19-Feb-04 4:38 
GeneralRe: &quot;Minimize to tray&quot; button in title bar Pin
John Fisher19-Feb-04 5:16
John Fisher19-Feb-04 5:16 
GeneralControlling file permissions Pin
james-cxx18-Feb-04 12:05
james-cxx18-Feb-04 12:05 
GeneralRe: Controlling file permissions Pin
Russell Morris18-Feb-04 12:27
Russell Morris18-Feb-04 12: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.