Click here to Skip to main content
15,889,992 members
Home / Discussions / C#
   

C#

 
GeneralRe: add webusercontrol Pin
reza toorani30-Aug-05 17:11
reza toorani30-Aug-05 17:11 
GeneralRe: add webusercontrol Pin
Anonymous30-Aug-05 17:25
Anonymous30-Aug-05 17:25 
Questionneed reference to parent object Pin
BungoMan8529-Aug-05 9:34
BungoMan8529-Aug-05 9:34 
AnswerRe: need reference to parent object Pin
Alomgir Miah29-Aug-05 10:34
Alomgir Miah29-Aug-05 10:34 
AnswerRe: need reference to parent object Pin
Josh Lindenmuth29-Aug-05 10:37
Josh Lindenmuth29-Aug-05 10:37 
QuestionC# function design Question Pin
parrot12329-Aug-05 8:38
parrot12329-Aug-05 8:38 
AnswerRe: C# function design Question Pin
Mohamad Al Husseiny29-Aug-05 9:24
Mohamad Al Husseiny29-Aug-05 9:24 
GeneralRe: C# function design Question Pin
parrot12329-Aug-05 9:40
parrot12329-Aug-05 9:40 
Thanks for your response....Just so that you understand this fully:

My function has a method that just opens the comms port and dials out the number of the remote device. At that point exeution of the method terminates. At the same time in the function's class constructor I subscribe to the OnComm event (which fires whenever communications events happen, such as when receiving data). When I receive data, I parse it in the event handler of the OnComm event and if valid I fire an event with the data as its argument.

What I am looking to do is have the original method initiating the call wait until this valid data event is fired, or a timeout occurs. Once either of these happens I would like the function to return the data or an error code accordingly.


Thanks

Chris
GeneralRe: C# function design Question Pin
Alomgir Miah29-Aug-05 10:54
Alomgir Miah29-Aug-05 10:54 
QuestionExtracting Frames From The AVI Movie Pin
Nabeel Younus Khan29-Aug-05 8:08
Nabeel Younus Khan29-Aug-05 8:08 
AnswerRe: Extracting Frames From The AVI Movie Pin
Mohamad Al Husseiny29-Aug-05 8:28
Mohamad Al Husseiny29-Aug-05 8:28 
AnswerRe: Extracting Frames From The AVI Movie Pin
Andrew Kirillov29-Aug-05 9:48
Andrew Kirillov29-Aug-05 9:48 
QuestionRESIZING IMAGE AND SAVING IT INTO A N BITMAP OBJECT Pin
Nabeel Younus Khan29-Aug-05 8:04
Nabeel Younus Khan29-Aug-05 8:04 
AnswerRe: RESIZING IMAGE AND SAVING IT INTO A N BITMAP OBJECT Pin
Werdna29-Aug-05 8:13
Werdna29-Aug-05 8:13 
QuestionDisplaying Long Strings in RichTextBox Pin
dmc55529-Aug-05 7:45
dmc55529-Aug-05 7:45 
QuestionDirectX.capture.asp Pin
Duke of URL29-Aug-05 7:16
Duke of URL29-Aug-05 7:16 
QuestionIndex DBF file Pin
Bedevian29-Aug-05 7:02
Bedevian29-Aug-05 7:02 
QuestionshowDialog Pin
xilefxilef29-Aug-05 6:53
xilefxilef29-Aug-05 6:53 
AnswerRe: showDialog Pin
Stefan Troschuetz29-Aug-05 7:30
Stefan Troschuetz29-Aug-05 7:30 
GeneralRe: showDialog Pin
xilefxilef29-Aug-05 10:15
xilefxilef29-Aug-05 10:15 
AnswerRe: showDialog Pin
Stefan Troschuetz29-Aug-05 21:25
Stefan Troschuetz29-Aug-05 21:25 
GeneralRe: showDialog Pin
xilefxilef30-Aug-05 5:53
xilefxilef30-Aug-05 5:53 
GeneralRe: showDialog Pin
Stefan Troschuetz30-Aug-05 7:31
Stefan Troschuetz30-Aug-05 7:31 
QuestionHow to avoid getting code when decompile exe? Pin
pubududilena29-Aug-05 6:48
pubududilena29-Aug-05 6:48 
AnswerRe: How to avoid getting code when decompile exe? Pin
Dan Neely29-Aug-05 7:03
Dan Neely29-Aug-05 7:03 

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.