Click here to Skip to main content
15,921,577 members
Home / Discussions / C#
   

C#

 
GeneralRe: Calculate and Display Prime Numbers Pin
Leslie Sanford21-Mar-07 19:37
Leslie Sanford21-Mar-07 19:37 
GeneralRe: Calculate and Display Prime Numbers Pin
chitra4sat21-Mar-07 19:48
chitra4sat21-Mar-07 19:48 
GeneralRe: Calculate and Display Prime Numbers Pin
Leslie Sanford21-Mar-07 20:00
Leslie Sanford21-Mar-07 20:00 
QuestionC# Automation Addin for Excel using ,NET - Build Error - Cannot Register Assembly (MSB3217) Pin
ralph_y21-Mar-07 17:58
ralph_y21-Mar-07 17:58 
QuestionHow to remove the rectangle from Propertygrid ? Pin
TaiZhong21-Mar-07 17:03
TaiZhong21-Mar-07 17:03 
AnswerRe: How to remove the rectangle from Propertygrid ? Pin
visualhint16-Apr-07 3:33
visualhint16-Apr-07 3:33 
Questionblock website function by enterring in texbox in a form.need help here Pin
krajah1021-Mar-07 15:26
krajah1021-Mar-07 15:26 
Questionthread question Pin
dino209421-Mar-07 14:51
dino209421-Mar-07 14:51 
I writing an windows app in C# that receives data via serial port.
I have a thread dedicated to reading from the serial port and when
it has a full packet, it makes a call to the main form.

CallBackUpdate callBack = new CallBackUpdate(updateState);<br />
Invoke(callBack, new object[] { newPacket });<br />


So it passes the newPacket to a method called updateState.

Lets say this happens: (Although I don't think it will)

1.Receive one packet and is sent to main form for processing.
2.Receive another packet and send it to main form before packet from 1 is done processing.


Question/Concern

Will the main form process the first packet completely before it processes the second?

or

Do I have to add some blocking to the serial thread so that it doesn't send a packet for
processing when another is being processed.
AnswerRe: thread question Pin
Leslie Sanford21-Mar-07 17:02
Leslie Sanford21-Mar-07 17:02 
QuestionProgram structure need experienced programmers perspective please Pin
Mischievious21-Mar-07 14:36
Mischievious21-Mar-07 14:36 
AnswerRe: Program structure need experienced programmers perspective please Pin
Leslie Sanford21-Mar-07 17:05
Leslie Sanford21-Mar-07 17:05 
GeneralRe: Program structure need experienced programmers perspective please Pin
Mischievious21-Mar-07 18:14
Mischievious21-Mar-07 18:14 
QuestionQuestion about Windows Media Encoder Pin
Julianne_juju21-Mar-07 14:11
Julianne_juju21-Mar-07 14:11 
QuestionNeed help with XML config file Pin
Mark F.21-Mar-07 13:40
Mark F.21-Mar-07 13:40 
AnswerRe: Need help with XML config file Pin
coolestCoder21-Mar-07 18:31
coolestCoder21-Mar-07 18:31 
QuestionTrouble converting byte[] to bmp..... Pin
Are Jay21-Mar-07 12:17
Are Jay21-Mar-07 12:17 
AnswerRe: Trouble converting byte[] to bmp..... Pin
Nick Hodapp21-Mar-07 12:44
sitebuilderNick Hodapp21-Mar-07 12:44 
GeneralRe: Trouble converting byte[] to bmp..... Pin
Are Jay22-Mar-07 3:23
Are Jay22-Mar-07 3:23 
AnswerRe: Trouble converting byte[] to bmp..... Pin
Colin Angus Mackay21-Mar-07 13:00
Colin Angus Mackay21-Mar-07 13:00 
GeneralRe: Trouble converting byte[] to bmp..... Pin
Are Jay22-Mar-07 3:13
Are Jay22-Mar-07 3:13 
AnswerRe: Trouble converting byte[] to bmp..... Pin
Are Jay22-Mar-07 11:23
Are Jay22-Mar-07 11:23 
QuestionART network with c# Pin
pariisa21-Mar-07 11:21
pariisa21-Mar-07 11:21 
AnswerRe: ART network with c# Pin
Stefan Troschuetz21-Mar-07 11:57
Stefan Troschuetz21-Mar-07 11:57 
Questionbitmap lock flag or something like it Pin
haseeb_saeed21-Mar-07 10:21
haseeb_saeed21-Mar-07 10:21 
QuestionDataGridView Pin
aranhamarvel21-Mar-07 9:28
aranhamarvel21-Mar-07 9:28 

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.