• Welcome to Valhalla Legends Archive.
 

[VB]Problem with "Select Case e(0)"

Started by Learn, May 02, 2004, 01:12 PM

Previous topic - Next topic

Learn

Thanks, but can anyone help me with my problem?

hismajesty

Quote from: Learn on May 02, 2004, 10:30 PM
Thanks, but can anyone help me with my problem?

You posted that it was resolved.

Learn

QuoteOk, this issue has been resolved.

I used the InStr command to solve it.

But now once i connect my bot using VB the Chattering in the channel doesn't show up on my screen, I can't join channels either. But i CAN whisper people. Also, when i try to type any of the commands you'd normally use on a Client, i hear a beep and nothing happens.

That problem

Eli_1

Are you appending vbCrLf to the end of the text you send?

Learn

Please use an example of what you mean, because i really dont KNow what u mean.


p.s. : nice avatar  ATHF rocks =]

Eli_1

#20
Quote from: Learn on May 04, 2004, 07:13 AM
Please use an example of what you mean, because i really dont KNow what u mean.


p.s. : nice avatar  ATHF rocks =]


Const VK_RETURN = 13
If KeyAscii = VK_RETURN Then
   WinSock.SendData txtInput.Text & vbCrLf
   '/* Notice I'm putting vbCrLf on the end of the text :O */

   DoEvents
   '/* DoEvents isn't needed. I use it
   '** because on one of my really old
   '** computers it won't send if I leave DoEvents
   '** out. Btw, these are all comments, learn. */

   KeyAscii = 0 '// Don't beep -.-
End If


P.S. LOL, finally someone recognizes the character. ATHF def. rocks. :)



Learn

Ok I know what a comment is I'm not THAT much of a newb with VB. but thanks for the vbCrLf tip i didn't know that.

Eli_1

Quote from: Learn on May 04, 2004, 03:57 PM
Ok I know what a comment is I'm not THAT much of a newb with VB. but thanks for the vbCrLf tip i didn't know that.
Last post I read, someone thought the comment was code. I thought it might have been you, so I put that in there to make sure I didn't confuse you.