| View previous topic :: View next topic |
| Author |
Message |
Womanizer Grandmaster Cheater
Reputation: 2
Joined: 30 May 2009 Posts: 958
|
Posted: Tue Mar 23, 2010 11:07 am Post subject: Chatbox /Help (VB 2008) |
|
|
I got a problem, when i type something in the textbox it shows on the richtextbox. But, when i type something again in the textbox the other message deletes.
How could i make that it will make a space or something?
- I think its like ("{enter}") but it didn't want to work.
- Also please full code.
| Description: |
|
| Filesize: |
373.48 KB |
| Viewed: |
7441 Time(s) |

|
|
|
| Back to top |
|
 |
AtheistCrusader Grandmaster Cheater
Reputation: 6
Joined: 23 Sep 2006 Posts: 681
|
Posted: Tue Mar 23, 2010 11:26 am Post subject: |
|
|
| Show the code, you're probably using "richtextbox1.text = .."
|
|
| Back to top |
|
 |
Womanizer Grandmaster Cheater
Reputation: 2
Joined: 30 May 2009 Posts: 958
|
Posted: Tue Mar 23, 2010 11:33 am Post subject: |
|
|
| _visiON_ wrote: | | Show the code, you're probably using "richtextbox1.text = .." |
I am not using any code, and it should show to richtextbox. Can you please tell me the code?
|
|
| Back to top |
|
 |
AtheistCrusader Grandmaster Cheater
Reputation: 6
Joined: 23 Sep 2006 Posts: 681
|
Posted: Tue Mar 23, 2010 12:01 pm Post subject: |
|
|
| WTF are you doing, how does the text go to the richbox(if it is entered in the bottom textbox) if you dont have any code
|
|
| Back to top |
|
 |
Jonny999 Grandmaster Cheater
Reputation: 0
Joined: 10 Jan 2007 Posts: 789 Location: England, Near London
|
Posted: Tue Mar 23, 2010 12:08 pm Post subject: |
|
|
| _visiON_ wrote: | | WTF are you doing, how does the text go to the richbox(if it is entered in the bottom textbox) if you dont have any code |
A wild retard appears.
omgwtfbbq!
_________________
1 Step ahead of the rest. |
|
| Back to top |
|
 |
AtheistCrusader Grandmaster Cheater
Reputation: 6
Joined: 23 Sep 2006 Posts: 681
|
Posted: Tue Mar 23, 2010 12:14 pm Post subject: |
|
|
Anyway,
| Code: |
Richtextbox1.text += Textbox1.text + "\n"
|
|
|
| Back to top |
|
 |
Pingo Grandmaster Cheater
Reputation: 8
Joined: 12 Jul 2007 Posts: 571
|
Posted: Tue Mar 23, 2010 8:31 pm Post subject: |
|
|
What about something like this. Iv never used VB so dunno if it works.
Richtextbox1.text = Richtextbox1.text + "\n" + Textbox1.text
or
Richtextbox1.text = Richtextbox1.text.trim() + "\n" + Textbox1.text
not sure how vb uses trim(), it'l just delete the first blank line.
_________________
|
|
| Back to top |
|
 |
Jesper Grandmaster Cheater Supreme
Reputation: 9
Joined: 21 Feb 2007 Posts: 1156
|
Posted: Tue Mar 23, 2010 8:56 pm Post subject: |
|
|
You must be trolling..?
Something as simple as this is just common sense.
Anyway.. In VB.Net it's something like this | Code: | | textbox.text = vbnewline & textbox.text & othertextbox.text |
|
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Wed Mar 24, 2010 8:54 am Post subject: |
|
|
I would like a button to send the text :/
_________________
Intel over amd yes. |
|
| Back to top |
|
 |
Lyfa The Lonely Man
Reputation: 12
Joined: 02 Nov 2008 Posts: 743
|
Posted: Thu Mar 25, 2010 12:25 pm Post subject: |
|
|
| Code: | | RichTextBox1.Text += TextBox1.Text + vbNewLine |
Just add that to a button. It'd be much easier.
_________________
|
|
| Back to top |
|
 |
Womanizer Grandmaster Cheater
Reputation: 2
Joined: 30 May 2009 Posts: 958
|
Posted: Thu Mar 25, 2010 12:47 pm Post subject: |
|
|
| F3ar wrote: | | Code: | | RichTextBox1.Text += TextBox1.Text + vbNewLine |
Just add that to a button. It'd be much easier. |
I got it like this:
Textbox, and on enter it will show a message into richtextbox.
Thanks for the help all, i got it working.
- Quick question. Does anyone know or have a link on how to connect to a IRC channel with vb 2008?
THANKKS!
|
|
| Back to top |
|
 |
|