Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Chatbox /Help (VB 2008)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Womanizer
Grandmaster Cheater
Reputation: 2

Joined: 30 May 2009
Posts: 958

PostPosted: Tue Mar 23, 2010 11:07 am    Post subject: Chatbox /Help (VB 2008) Reply with quote

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.




help1001.jpg
 Description:
 Filesize:  373.48 KB
 Viewed:  7441 Time(s)

help1001.jpg


Back to top
View user's profile Send private message
AtheistCrusader
Grandmaster Cheater
Reputation: 6

Joined: 23 Sep 2006
Posts: 681

PostPosted: Tue Mar 23, 2010 11:26 am    Post subject: Reply with quote

Show the code, you're probably using "richtextbox1.text = .."
Back to top
View user's profile Send private message
Womanizer
Grandmaster Cheater
Reputation: 2

Joined: 30 May 2009
Posts: 958

PostPosted: Tue Mar 23, 2010 11:33 am    Post subject: Reply with quote

_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
View user's profile Send private message
AtheistCrusader
Grandmaster Cheater
Reputation: 6

Joined: 23 Sep 2006
Posts: 681

PostPosted: Tue Mar 23, 2010 12:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jonny999
Grandmaster Cheater
Reputation: 0

Joined: 10 Jan 2007
Posts: 789
Location: England, Near London

PostPosted: Tue Mar 23, 2010 12:08 pm    Post subject: Reply with quote

_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
View user's profile Send private message
AtheistCrusader
Grandmaster Cheater
Reputation: 6

Joined: 23 Sep 2006
Posts: 681

PostPosted: Tue Mar 23, 2010 12:14 pm    Post subject: Reply with quote

Anyway,
Code:

Richtextbox1.text += Textbox1.text + "\n"
Back to top
View user's profile Send private message
Pingo
Grandmaster Cheater
Reputation: 8

Joined: 12 Jul 2007
Posts: 571

PostPosted: Tue Mar 23, 2010 8:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jesper
Grandmaster Cheater Supreme
Reputation: 9

Joined: 21 Feb 2007
Posts: 1156

PostPosted: Tue Mar 23, 2010 8:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Wed Mar 24, 2010 8:54 am    Post subject: Reply with quote

I would like a button to send the text :/
_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Lyfa
The Lonely Man
Reputation: 12

Joined: 02 Nov 2008
Posts: 743

PostPosted: Thu Mar 25, 2010 12:25 pm    Post subject: Reply with quote

Code:
RichTextBox1.Text += TextBox1.Text + vbNewLine

Just add that to a button. It'd be much easier.

_________________
Back to top
View user's profile Send private message
Womanizer
Grandmaster Cheater
Reputation: 2

Joined: 30 May 2009
Posts: 958

PostPosted: Thu Mar 25, 2010 12:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites