as some of you may know, osc_x is a control somewhat like winsock. It lets you connect to aim and send and get IMs. For some reasone though, I can't get the message, only the name of the person who's sending it. What am I doing wrong?
VB Code:
Private Sub aimSock_buddySignedOn(strName As String, strCapabilities As String) lstOnline.AddItem (strName) End Sub Private Sub aimSock_incomingIM(strName As String, strMessage As String) txtIMIn.Text = "[" & strName & "] " & strMessage & vbNewLine & txtIMIn.Text End Sub Private Sub aimSock_loggedIn(strFormattedName As String, strEmailAddy As String) MsgBox strFormattedName & " Logged On" End Sub Private Sub cmdIMSend_Click() If txtIMUsername.Text = "" Then MsgBox "You must enter a screen name first!" Else aimSock.sendIM txtIMUsername.Text, txtIMOut.Text, False txtIMIn.Text = "[" & txtIMUsername.Text & "] " & txtIMOut.Text & vbNewLine & txtIMIn.Text End If txtIMOut.Text = "" End Sub Private Sub mnuFileOut_Click() aimSock.SignOff End Sub
any help is needed and welcome




Reply With Quote