Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: ColT on July 18, 2004, 06:25 PM

Title: Need help..
Post by: ColT on July 18, 2004, 06:25 PM
I need help with making a chat bot (My first bot..) I know most of the stuff using VB.. I am going to use Winsock. The programs you have to add is Winsock+RTB.. I want to know the code for the RTB on my form.. It covers most of my form, and I want to know what I should name the RTB on my form as well as the code. Can someone please help me I am a newb at making a bot.
Title: Re:Need help..
Post by: UserLoser. on July 18, 2004, 07:33 PM
Create a form, hit CTRL+T, on the list find Microsoft Rich Textbox Control 6.0, check it, hit Apply, hit ok.  On your toolbar, you'll now have a richtextbox feature, you can then use that to add it onto the form like you would with any other control.
Title: Re:Need help..
Post by: ColT on July 18, 2004, 07:39 PM
Yeh.. I already know that but I need the code for RTB when I put it on the form.
Title: Re:Need help..
Post by: DeTaiLs on July 18, 2004, 07:52 PM
are u asking for the code to send info to the RTB?
Title: Re:Need help..
Post by: ColT on July 18, 2004, 07:55 PM
Yes
Title: Re:Need help..
Post by: Soul Taker on July 19, 2004, 01:25 AM
Check the functions associated with the control.  If you look, there should be one that logically adds text to the control.  You should also be able to figure out which one tells the control where to start selecting text (which will be the point of origin for added text).  This is the easiest way to figure out how to use controls on your own.
Title: Re:Need help..
Post by: Blaze on July 19, 2004, 11:51 AM
I suggest learning the language vb before trying to make a chat bot.
Title: Re:Need help..
Post by: hismajesty on July 19, 2004, 12:43 PM
http://botdev.valhallalegends.com/documents/vbrtbpro.html
Title: Re:Need help..
Post by: ColT on July 20, 2004, 01:33 PM
Thanks Hismajesty[yL], that would kind of help me out.