Click here to Skip to main content
15,917,635 members
Home / Discussions / Windows Forms
   

Windows Forms

 
Questionhow return Dataadapter and dataset from function in class file for multiple use Pin
hemrk20-Jul-09 6:08
hemrk20-Jul-09 6:08 
AnswerRe: how return Dataadapter and dataset from function in class file for multiple use Pin
DoctorMick20-Jul-09 6:16
DoctorMick20-Jul-09 6:16 
GeneralHelp on how to build sms web portal for my church for e-evengenlism Pin
abbah19-Jul-09 22:51
abbah19-Jul-09 22:51 
GeneralRe: Help on how to build sms web portal for my church for e-evengenlism Pin
Dave Kreskowiak21-Jul-09 4:25
mveDave Kreskowiak21-Jul-09 4:25 
JokeRe: Help on how to build sms web portal for my church for e-evengenlism Pin
Paul Conrad26-Jul-09 11:11
professionalPaul Conrad26-Jul-09 11:11 
Question"extended version" of post to Lounge : Applause ! : shareware version of AlphaForm now on CP, and free [modified] Pin
BillWoodruff19-Jul-09 15:04
professionalBillWoodruff19-Jul-09 15:04 
Questionhow to programatically raise keyPress event of a user control? Pin
imak19-Jul-09 9:54
imak19-Jul-09 9:54 
AnswerRe: how to programatically raise keyPress event of a user control? Pin
Luc Pattyn19-Jul-09 10:33
sitebuilderLuc Pattyn19-Jul-09 10:33 
Hi,

two comments:

1.
are you sure you want KeyPress events? if all you want is append some text to a TextBox, why not use the TextBox.AppendText() method?

2.
if you use SerialPort.DataReceived event, you must be aware that event does not fire on the main/GUI thread; hence you cannot directly touch GUI Controls, you will need Control.InvokeRequired and Control.Invoke. If those are unfamiliar, search for InvokeRequired.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: how to programatically raise keyPress event of a user control? Pin
imak19-Jul-09 10:45
imak19-Jul-09 10:45 
GeneralRe: how to programatically raise keyPress event of a user control? Pin
imak20-Jul-09 4:43
imak20-Jul-09 4:43 
QuestionHow to access the form controls in the thread Pin
K V Sekhar17-Jul-09 23:41
K V Sekhar17-Jul-09 23:41 
AnswerRe: How to access the form controls in the thread Pin
Luc Pattyn18-Jul-09 0:02
sitebuilderLuc Pattyn18-Jul-09 0:02 
GeneralRe: How to access the form controls in the thread Pin
K V Sekhar18-Jul-09 1:00
K V Sekhar18-Jul-09 1:00 
GeneralRe: How to access the form controls in the thread Pin
Luc Pattyn18-Jul-09 1:05
sitebuilderLuc Pattyn18-Jul-09 1:05 
QuestionXML DOM Support WINPE 1.6 Pin
AR Reddy16-Jul-09 0:26
AR Reddy16-Jul-09 0:26 
QuestionHelp for widows distributed application Pin
Zeeshan Riaz15-Jul-09 11:34
Zeeshan Riaz15-Jul-09 11:34 
QuestionRegEx not finding matches ... but it should Pin
Adam R Harris14-Jul-09 18:57
Adam R Harris14-Jul-09 18:57 
AnswerRe: RegEx not finding matches ... but it should Pin
Luc Pattyn15-Jul-09 2:22
sitebuilderLuc Pattyn15-Jul-09 2:22 
GeneralRe: RegEx not finding matches ... but it should Pin
Adam R Harris15-Jul-09 7:49
Adam R Harris15-Jul-09 7:49 
GeneralRe: RegEx not finding matches ... but it should Pin
Luc Pattyn15-Jul-09 8:06
sitebuilderLuc Pattyn15-Jul-09 8:06 
QuestionContainer panel in user control (or clickable buttons at design time) Pin
Tomislav Plečko14-Jul-09 8:40
Tomislav Plečko14-Jul-09 8:40 
AnswerRe: Container panel in user control (or clickable buttons at design time) Pin
dan!sh 14-Jul-09 18:19
professional dan!sh 14-Jul-09 18:19 
AnswerRe: Container panel in user control (or clickable buttons at design time) Pin
BillWoodruff14-Jul-09 19:34
professionalBillWoodruff14-Jul-09 19:34 
AnswerRe: Container panel in user control (or clickable buttons at design time) Pin
Tomislav Plečko15-Jul-09 6:47
Tomislav Plečko15-Jul-09 6:47 
QuestionDelete hyperlink from crystal Report Pin
btough12-Jul-09 23:33
btough12-Jul-09 23:33 

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.