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

C#

 
QuestionFFMPEG Wrapper c# Pin
rafaeltejera27-Jul-07 4:14
rafaeltejera27-Jul-07 4:14 
QuestionNeed help with global sttrings Pin
TheCat00727-Jul-07 4:08
TheCat00727-Jul-07 4:08 
AnswerRe: Need help with global sttrings Pin
Ravi Bhavnani27-Jul-07 4:14
professionalRavi Bhavnani27-Jul-07 4:14 
AnswerRe: Need help with global sttrings Pin
Larantz27-Jul-07 7:02
Larantz27-Jul-07 7:02 
AnswerRe: Need help with global sttrings Pin
Guffa27-Jul-07 7:26
Guffa27-Jul-07 7:26 
GeneralRe: Need help with global sttrings Pin
TheCat00727-Jul-07 11:57
TheCat00727-Jul-07 11:57 
Questioncallback vba function in c# Pin
djdjoko27-Jul-07 3:14
djdjoko27-Jul-07 3:14 
QuestionHow to change the text of a text box in form after the form is displayed to user? Pin
AmarjeetSinghMatharu27-Jul-07 3:06
AmarjeetSinghMatharu27-Jul-07 3:06 
Hello All,
I need a guidance on following:

1. I want to crate a windows application with Form or dialog the application behaviour is such that,
it shows a dialog or Form to user and simultaneously,
2. it process the data by listening to seria port and notifies on the form if a specific data is received.
(I know how to implement in VC6)
3. when I open a VC#.Net application wizard it gives me a form class , but I am not able to find the place where to add a code for serial port because the form is run by application thread and is blocked once the Application.Run is called.

4. To simplyft points above , I want to change the text of a form text box after the form is displayed.
Please see the below code for clarity:
namespace WeighbridgeManager
{
static class WeighbridgeManager
{
///
/// The main entry point for the application.
///

[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
My Form WBScreen = new MyForm();
Application.Run(WBScreen);
//WBScreen.txtSomeTextBox.Text = "Hello World!!!";

}
}
}

The commented code never executes, I guess I am missing some threading logic here.
Thanks.




To simplyfy the problem, take it this way.

I want to change the text in the Form commented part and where to place this text.
La
AnswerRe: How to change the text of a text box in form after the form is displayed to user? Pin
PhilDanger27-Jul-07 3:27
PhilDanger27-Jul-07 3:27 
AnswerRe: How to change the text of a text box in form after the form is displayed to user? Pin
Luc Pattyn27-Jul-07 10:36
sitebuilderLuc Pattyn27-Jul-07 10:36 
GeneralRe: How to change the text of a text box in form after the form is displayed to user? Pin
AmarjeetSinghMatharu28-Jul-07 22:42
AmarjeetSinghMatharu28-Jul-07 22:42 
GeneralRe: How to change the text of a text box in form after the form is displayed to user? Pin
Luc Pattyn29-Jul-07 0:34
sitebuilderLuc Pattyn29-Jul-07 0:34 
GeneralRe: How to change the text of a text box in form after the form is displayed to user? Pin
AmarjeetSinghMatharu29-Jul-07 1:45
AmarjeetSinghMatharu29-Jul-07 1:45 
GeneralRe: How to change the text of a text box in form after the form is displayed to user? Pin
Luc Pattyn29-Jul-07 2:01
sitebuilderLuc Pattyn29-Jul-07 2:01 
GeneralRe: How to change the text of a text box in form after the form is displayed to user? Pin
AmarjeetSinghMatharu29-Jul-07 3:12
AmarjeetSinghMatharu29-Jul-07 3:12 
GeneralRe: How to change the text of a text box in form after the form is displayed to user? Pin
Luc Pattyn29-Jul-07 2:09
sitebuilderLuc Pattyn29-Jul-07 2:09 
QuestionConverting double slashes Pin
Mark0627-Jul-07 2:43
Mark0627-Jul-07 2:43 
AnswerRe: Converting double slashes Pin
PaulPrice27-Jul-07 2:50
PaulPrice27-Jul-07 2:50 
AnswerRe: Converting double slashes [modified] Pin
Martin#27-Jul-07 2:50
Martin#27-Jul-07 2:50 
AnswerRe: Converting double slashes Pin
steve_dunne27-Jul-07 2:52
steve_dunne27-Jul-07 2:52 
AnswerRe: Converting double slashes Pin
Guffa27-Jul-07 2:59
Guffa27-Jul-07 2:59 
AnswerRe: Converting double slashes Pin
Guffa27-Jul-07 3:01
Guffa27-Jul-07 3:01 
GeneralRe: Converting double slashes Pin
Martin#27-Jul-07 3:05
Martin#27-Jul-07 3:05 
GeneralRe: Converting double slashes Pin
leppie27-Jul-07 3:05
leppie27-Jul-07 3:05 
AnswerRe: Converting double slashes Pin
Guffa27-Jul-07 2:54
Guffa27-Jul-07 2:54 

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.