blah blah blah is here! blah blah » Close

0
votes
1 answers

plz help me to use a textbox control id as costume variable deifine in asp.net c#

hi i am add some textbox in a table at run time. i define the id of textbox using loop variable i: like (tb.ID = texbox + i.ToString();. that is ok but i want to use that id in my sql query but the no of textbox is define by user so i don' ...

0
votes
2 answers

copying text from one richtextbox to another

Hello, I'm developing an application in which I need to copy the content of a richtextbox with all its font settings to another richtextbox. the code i use is like this [code] this.chatTxt.SelectionStart = this.chatTxt.Text.Length; ...

0
votes
1 answers

Reading text files

Hi, Can anyone help me? i have a text file that has this: Company name Date Address some data here how do i read only the company name when the 1st line is space delimited ...

1
votes
1 answers

text file delete line

lios
30

hi i have a text file with 1000 lines and i wand to delete the last line each time i press a button! is any function to delete the last line?? thanks

1
votes
3 answers

Touchscreen button focus

I'm using a button that can be used on a touchscreen, the below code works but only on textbox1, i have more than one textbox on the form, is it possible to adapt the below code to work in any textbox? [code] private void buttonW_Click(o ...

0
votes
1 answers

Check empty text boxes

Guys, I'm trying to check multiple text boxes for a value before the save button is clicked, i can get it to work with several "if" statements for each text box but can i get it all on one line something like the below? [code]i ...

0
votes
0 answers

Mobile English to French Language Translation with text and Speech Output Internet Connection Problem

I am having my thesis as of now, our topic is about mobile language translation. Unlike other applications, we won't be incorporating any data dictionary in our proposed application, rather, we would be using third party language service pr ...

0
votes
0 answers

Help with output to a label

Hi, I am very new to C# and taking my first class. I have written the below code but seem to be missing something as my output does not display. I am trying to average three test scores and output the result to a label. When I click on ...

0
votes
1 answers

LABEL.TEXT property to change when a node is selected

Hey guys. I have a treeview control and a label right next to it. I want the label to show a certain text (hence the label.text property should be involved in this process) whenever a different node from the treeview control is sele ...

1
votes
1 answers

Best way to have live wordcount with large rtf files?

I am working on a text editor that has a label which updates with the current word count whenever the text is changed. Right now if I am editing a large file it takes a long time to count all of the regex matches, which causes typing to be ...

1
votes
3 answers

Decimal place in textbox

Hi, I would like to display 4 decimal places in a textbox. Following is the code I have written: Y_Encoder_Pos.Text = System.Convert.ToString(Globals.motorPos); Y_Encoder_Pos.Text = String.Format("{0:0.0000}"); There is ...

1
votes
2 answers

Windows forms text box string to int conversion

Hi, I have a textbox on windows forms and I want to display integer or floating point values. Globals.command = "M162->D:$00008B"; X_Encoder_Pos.Text = Globals.Turbo.GetResponseEx(Globals.device_number, Globa ...

Feedback