Click here to Skip to main content
15,886,676 members
Home / Discussions / C#
   

C#

 
GeneralRe: Free Office 2007 style controls Pin
WombatDelight18-Apr-07 18:07
WombatDelight18-Apr-07 18:07 
GeneralRe: Free Office 2007 style controls Pin
Christian Graus19-Apr-07 0:37
protectorChristian Graus19-Apr-07 0:37 
QuestionC# Newbie Please Help! Pin
ashley4838518-Apr-07 14:30
ashley4838518-Apr-07 14:30 
AnswerRe: C# Newbie Please Help! Pin
pbraun18-Apr-07 14:44
pbraun18-Apr-07 14:44 
GeneralRe: C# Newbie Please Help! Pin
ashley4838518-Apr-07 14:51
ashley4838518-Apr-07 14:51 
GeneralRe: C# Newbie Please Help! Pin
pbraun18-Apr-07 15:02
pbraun18-Apr-07 15:02 
GeneralRe: C# Newbie Please Help! Pin
ashley4838518-Apr-07 15:09
ashley4838518-Apr-07 15:09 
GeneralRe: C# Newbie Please Help! Pin
pbraun18-Apr-07 15:24
pbraun18-Apr-07 15:24 
Ok, now I understand the problem you are having. I believe it is this:

You have a control on your form such as a text box in which you want to place a value. The value might be the current CPU usage or other value. But you can't seem to display it on the form.

Try doing the following:

Add a button to your form
Add a textbox to your form

Double click on the button which will generate the _Click(...) stub. In this stub do the following:

Pseudo code

int myValue = 110; // Replace this line with a query to WMI or the Registry
TextBox.Text = myValue.ToString();

End Pseudo code

The second line in the pseudo code block I believe is the information you seem to be missing.


Phil
Questionpassing "this" by reference Pin
cbin18-Apr-07 14:25
cbin18-Apr-07 14:25 
AnswerRe: passing "this" by reference Pin
Luc Pattyn18-Apr-07 14:48
sitebuilderLuc Pattyn18-Apr-07 14:48 
AnswerRe: passing "this" by reference Pin
Tim Paaschen18-Apr-07 19:43
Tim Paaschen18-Apr-07 19:43 
QuestionReading data from one application to another Pin
yirmyah18-Apr-07 12:45
yirmyah18-Apr-07 12:45 
AnswerRe: Reading data from one application to another Pin
Christian Graus18-Apr-07 14:45
protectorChristian Graus18-Apr-07 14:45 
GeneralRe: Reading data from one application to another Pin
yirmyah18-Apr-07 15:19
yirmyah18-Apr-07 15:19 
GeneralRe: Reading data from one application to another Pin
Dave Kreskowiak18-Apr-07 15:31
mveDave Kreskowiak18-Apr-07 15:31 
QuestionUsing Databound ComboBox Pin
polishprogrammer18-Apr-07 12:03
polishprogrammer18-Apr-07 12:03 
QuestionRichTextBox Pin
Saikek18-Apr-07 11:29
Saikek18-Apr-07 11:29 
AnswerRe: RichTextBox Pin
Judah Gabriel Himango18-Apr-07 15:56
sponsorJudah Gabriel Himango18-Apr-07 15:56 
QuestionC# and C++ Pin
netJP12L18-Apr-07 10:31
netJP12L18-Apr-07 10:31 
AnswerRe: C# and C++ Pin
Christian Graus18-Apr-07 10:45
protectorChristian Graus18-Apr-07 10:45 
AnswerRe: C# and C++ Pin
pbraun18-Apr-07 14:58
pbraun18-Apr-07 14:58 
GeneralRe: C# and C++ Pin
Christian Graus18-Apr-07 16:06
protectorChristian Graus18-Apr-07 16:06 
GeneralRe: C# and C++ Pin
netJP12L18-Apr-07 16:19
netJP12L18-Apr-07 16:19 
GeneralRe: C# and C++ Pin
pbraun18-Apr-07 18:07
pbraun18-Apr-07 18:07 
QuestionC# Web Service not running Pin
dancelicious18-Apr-07 9:02
dancelicious18-Apr-07 9:02 

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.