Click here to Skip to main content
15,893,588 members
Home / Discussions / C#
   

C#

 
AnswerRe: Noob question regarding creating notepad Pin
Andrei Ungureanu11-Oct-06 3:02
Andrei Ungureanu11-Oct-06 3:02 
GeneralRe: Noob question regarding creating notepad Pin
Irfan Faruki11-Oct-06 4:47
Irfan Faruki11-Oct-06 4:47 
QuestionHow do I "embed" text into an image? Like what msn emoticon does Pin
dy1311-Oct-06 0:54
dy1311-Oct-06 0:54 
AnswerRe: How do I "embed" text into an image? Like what msn emoticon does Pin
eggsovereasy11-Oct-06 4:02
eggsovereasy11-Oct-06 4:02 
GeneralRe: How do I "embed" text into an image? Like what msn emoticon does Pin
dy1311-Oct-06 17:36
dy1311-Oct-06 17:36 
Questionpropertygrid validation of a field Pin
praveenqwe11-Oct-06 0:43
praveenqwe11-Oct-06 0:43 
AnswerRe: propertygrid validation of a field Pin
visualhint11-Oct-06 6:04
visualhint11-Oct-06 6:04 
Questionserial port Pin
dhanaid10-Oct-06 23:52
dhanaid10-Oct-06 23:52 
Hi,
I have problem with reading from serial port.
Even though the port is connected and a thumb impression is given as input
my program couldnt read. It produces System.TimeOutexception in the line
of code where i read from port. I couldnt get any idea how to get rid
form that.

The following is my code.please guide me whati have to change to get
the output.

If serialPort.IsOpen Then
serialPort.Close()
End If
Try
With serialPort
.PortName = ComboBox1.Text
.BaudRate = 9600
.Parity = Parity.None
.DataBits = 8
.StopBits = StopBits.One
End With
serialPort.Open()
MsgBox("SELECTED PORT IS CONNECTED")
Dim bufferpic As Byte = CType(serialPort.ReadLine, Byte)
Dim MemstrmPic As New IO.MemoryStream(bufferpic)
Form1.PictureBox1.Image = Image.FromStream(MemstrmPic)

Catch ex As Exception
MsgBox(ex.ToString)
End Try


Thanks in advance

QuestionPopulate Table from excel sheet ? Pin
Gammaza10-Oct-06 23:15
Gammaza10-Oct-06 23:15 
AnswerRe: Populate Table from excel sheet ? Pin
mikone11-Oct-06 3:41
mikone11-Oct-06 3:41 
GeneralRe: Populate Table from excel sheet ? Pin
Gammaza11-Oct-06 20:43
Gammaza11-Oct-06 20:43 
Questionget clicked link Pin
m_mor10-Oct-06 23:00
m_mor10-Oct-06 23:00 
AnswerRe: get clicked link Pin
Niiiissssshhhhhuuuuu11-Oct-06 1:45
Niiiissssshhhhhuuuuu11-Oct-06 1:45 
QuestionChanging the default WindowClassName of a .NET Form? Pin
Yuval Naveh10-Oct-06 22:12
Yuval Naveh10-Oct-06 22:12 
AnswerRe: Changing the default WindowClassName of a .NET Form? Pin
Chris Buckett10-Oct-06 23:23
Chris Buckett10-Oct-06 23:23 
GeneralRe: Changing the default WindowClassName of a .NET Form? Pin
Yuval Naveh10-Oct-06 23:32
Yuval Naveh10-Oct-06 23:32 
QuestionRemoting and dynamic port allocation Pin
SkyTom10-Oct-06 22:04
SkyTom10-Oct-06 22:04 
QuestionDeployment Question Pin
wasife10-Oct-06 21:34
wasife10-Oct-06 21:34 
QuestionSize of COM objects Pin
drabiger10-Oct-06 21:33
drabiger10-Oct-06 21:33 
QuestionAdding custom property pages to Outlook 2003 using C# <-- Question Pin
SquallNaruto10-Oct-06 21:15
SquallNaruto10-Oct-06 21:15 
QuestionAssign shortcutkeys to combobox values in gridview Pin
WillemM10-Oct-06 21:04
WillemM10-Oct-06 21:04 
Questionhow to declare 2 dimensional arraylists in C# Pin
Keshav V. Kamat10-Oct-06 21:04
Keshav V. Kamat10-Oct-06 21:04 
AnswerRe: how to declare 2 dimensional arraylists in C# Pin
WillemM10-Oct-06 21:09
WillemM10-Oct-06 21:09 
GeneralRe: how to declare 2 dimensional arraylists in C# Pin
Keshav V. Kamat10-Oct-06 21:11
Keshav V. Kamat10-Oct-06 21:11 
AnswerRe: how to declare 2 dimensional arraylists in C# Pin
wheelerbarry10-Oct-06 22:39
wheelerbarry10-Oct-06 22:39 

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.