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

C#

 
QuestionBulk Update. Pin
deepaks310-Sep-06 21:57
deepaks310-Sep-06 21:57 
AnswerRe: Bulk Update. Pin
Arjun "Mjolnir" Bahree10-Sep-06 22:16
Arjun "Mjolnir" Bahree10-Sep-06 22:16 
GeneralRe: Bulk Update. Pin
deepaks311-Sep-06 6:45
deepaks311-Sep-06 6:45 
QuestionlistBox style Pin
TAREQ F ABUZUHRI10-Sep-06 21:56
TAREQ F ABUZUHRI10-Sep-06 21:56 
AnswerRe: listBox style Pin
g00fyman10-Sep-06 22:56
g00fyman10-Sep-06 22:56 
QuestionHow to dump IPCChannel ? Pin
GDavy10-Sep-06 21:54
GDavy10-Sep-06 21:54 
AnswerRe: How to dump IPCChannel ? Pin
Arjun "Mjolnir" Bahree10-Sep-06 22:30
Arjun "Mjolnir" Bahree10-Sep-06 22:30 
Questionread write serial com Pin
faladrim10-Sep-06 21:38
faladrim10-Sep-06 21:38 
hi,
i'm writing a code to read and write to my serail com port
to know when i am writing i use hyperterminal and connect com1 to com5
but i dont know how i should test the reading?
any suggestions?
here is my code:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO.Ports;

namespace serial2005
{

public partial class Form1 : Form
{


// Instantiate the communications port with some basic settings
SerialPort port = new SerialPort("COM1", 19200, Parity.None, 8, StopBits.One);

public Form1()
{
InitializeComponent();
}

private void send_button_Click(object sender, EventArgs e)
{
// Open the port for communications

port.Open();
// Write a string
port.Write(txt_send.Text);


// Close the port
port.Close();

}


private void read_button_Click(object sender, EventArgs e)
{
port.Open();
txt_rec.Text = port.ReadLine();
port.Close();
}

}
}
AnswerRe: read write serial com Pin
Niiiissssshhhhhuuuuu11-Sep-06 3:06
Niiiissssshhhhhuuuuu11-Sep-06 3:06 
GeneralRe: read write serial com Pin
Niiiissssshhhhhuuuuu11-Sep-06 3:35
Niiiissssshhhhhuuuuu11-Sep-06 3:35 
GeneralRe: read write serial com Pin
faladrim11-Sep-06 5:01
faladrim11-Sep-06 5:01 
GeneralRe: read write serial com Pin
Niiiissssshhhhhuuuuu11-Sep-06 17:38
Niiiissssshhhhhuuuuu11-Sep-06 17:38 
GeneralRe: read write serial com Pin
faladrim11-Sep-06 21:49
faladrim11-Sep-06 21:49 
GeneralRe: read write serial com Pin
faladrim12-Sep-06 22:07
faladrim12-Sep-06 22:07 
QuestionPassword Pin
TAREQ F ABUZUHRI10-Sep-06 21:17
TAREQ F ABUZUHRI10-Sep-06 21:17 
AnswerRe: Password Pin
Andrei Ungureanu11-Sep-06 0:07
Andrei Ungureanu11-Sep-06 0:07 
QuestionCan not start C# application without VS2005 Pin
M-200010-Sep-06 21:15
M-200010-Sep-06 21:15 
QuestionMaking tabpages appear without cllicking Pin
Hampus@foi10-Sep-06 20:57
Hampus@foi10-Sep-06 20:57 
AnswerRe: Making tabpages appear without cllicking Pin
Stefan Troschuetz10-Sep-06 21:26
Stefan Troschuetz10-Sep-06 21:26 
GeneralRe: Making tabpages appear without cllicking Pin
Hampus@foi10-Sep-06 22:05
Hampus@foi10-Sep-06 22:05 
AnswerRe: Making tabpages appear without cllicking Pin
Arjun "Mjolnir" Bahree10-Sep-06 22:35
Arjun "Mjolnir" Bahree10-Sep-06 22:35 
QuestionHow to add some animation to window while minimizing application to system tray Pin
Hemant kulkarni10-Sep-06 20:45
Hemant kulkarni10-Sep-06 20:45 
AnswerRe: How to add some animation to window while minimizing application to system tray Pin
Coding C#11-Sep-06 4:52
Coding C#11-Sep-06 4:52 
QuestionProblem with IsInputKey Pin
zeemoo10-Sep-06 20:39
zeemoo10-Sep-06 20:39 
QuestionWin To Web Pin
mehrdadc4810-Sep-06 20:35
mehrdadc4810-Sep-06 20:35 

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.