Questions tagged [appendtext]
42 questions
5
votes
5 answers
Appending to new line will not go to new line
I am trying to append the text from a text box to a new line in a text file and have run into an issue. Lets say that there are already contents in the text file and looks something like this
something
Something
Something<---- Cursor ends here
And…
user3470887
2
votes
6 answers
Fast Append Text to text box
I have a BackgroundWorker thread that is posting messages, using BeginInvoke on a textbox in the GUI. The method, write_debug_text, that displays text in the textbox uses AppendText and also writes the text to the Console.
The appearance is that…

Thomas Matthews
- 56,849
- 17
- 98
- 154
2
votes
2 answers
Selecting text and changing it's color on a line of a RichTextBox
Good Afternoon. I am new to stack overflow as a poster but have referenced it for years. I have been researching this problem of mine for about 2 weeks and while I've seen solutions that are close I still am left with an issue.
I am writing a C#…

Michael Riley
- 67
- 1
- 10
2
votes
2 answers
AppendText won't append to the next line in a text file / vb
I'm making a program that lets you add student info to an existing CSV text file but whenever I use append text it adds the new info to part of the last line and then a new line.
I want it to do this:
John Doe,29,Male
John Doe,29,Male
It does this…

user3071965
- 21
- 2
2
votes
1 answer
C# AppendText to TextBox from another thread not working
I got a problem with my textbox.
I have a class that represents the GUI thread and a class for the worker thread that does some networking stuff and then has to add the log to the textbox in the GUI thread so you can see what is happening in the…

user1137183
- 119
- 2
- 11
1
vote
1 answer
IOException while writing to text file despite locking the block
I know the answer must be out there somewhere, I applied suggestions both from many other questions and from MSDN itself but I'm probably overlooking something here.
This is my method, I use it to dump output to file. lock object declaration…

Alex
- 23,004
- 4
- 39
- 73
1
vote
1 answer
String text not showing in appendText in JAVA
I am making a guessing game in Netbeans Java. The result (message/ String Text) after comparing the guess number to the target number is not showing in the feedback panel TextArea. I passed the text from the MainFrame class using the appendText to…

Kirby Kode
- 19
- 4
1
vote
1 answer
C++/CLI Correct use of threads and problems with Appendtext
I will try to be brief.
For a school project I need a UI with a command prompt (textbox) and a log window (richtextbox).
When we type a command,System::Void MyForm::cmd_textBox_KeyDown(System::Object^ sender, KeyEventArgs^ e) called another function…

Nosnahc
- 9
- 1
1
vote
2 answers
How to let the listener run without freezing on JavaFX?
What I'm trying to do is printing texts on textarea in real time
even after the button is clicked.
When I click the button, the UI freezes until its job finishes, and after that,
it prints all the texts together unlike System.out.println.
The code…

Keibee
- 45
- 1
- 5
1
vote
2 answers
Redirecting process output to a richtextbox
I'm attempting to redirect the output of a third party command line tool which is launched by my application. I am outputting to a rich text box. This is working successfully, with one exception.
When I test with a ping command, my output not…

NapkinBob
- 632
- 7
- 19
1
vote
1 answer
.appendText is writing on top of last text without replacing it in GeolocationEvent.UPDATE example
new to actionscript and looking at the GeolocationEvent.UPDATE examples, having some unexpected results with .appendText() and an array.push --I didn't know whether they might both be just the phone not keeping up with the updates?
first, the text…

user2224471
- 13
- 3
0
votes
0 answers
JavaFX Text Area Append Causes Two Errors
I am writing a program that checks prices and if it increases past a set amount then lets the user know by putting into a JavaFX text area line by line with a time stamp, appendText() spits out 2 errors. The error codes don't point to anything…

MatleBonVon
- 11
0
votes
2 answers
Problem with appendText in c#
I have an app that has 3 text boxes, (users name, what company they are from, and who they are visiting) A button to print, and a keyboard on the screen (monitor is touch screen). I have everything working and functioning...
BUT, the one thing that…

rcaveda
- 57
- 1
- 9
0
votes
1 answer
Failing to add a new line in Windows Forms C#
I really appreciate your help and contribution in advance, I am training on C# home and it's been great way to do something with home time: I am trying to append a string of text to txtCollectionBox from txtNoteBox and a new line at the end of each…
0
votes
1 answer
wxPython: CallAfter(AppendText,string) does not print entire string
I have a thread that loops receiving socket data and printing it:
def post(self):
while True:
try:
data = pickle.loads(self.sock.recv(1024))
print data[0] % tuple(data[1])
except (socket.error, EOFError):…

Shaunak Amin
- 181
- 5
- 12