471,616 Members | 2,017 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,616 software developers and data experts.

why is mdichild in not activate.....

i got code working. similar to mirc chat. but what happen when i joined
the channel #visualbasic...that fine with me , i got all data coming
into first mdichild. but when i joined another channel #vb, i got both
#visualbasic and #vb data into second mdichild. but first mdichild is
not activated anymore. but how do i passed data goes # visualbasic to
first mdichild and #vb goes to second mdichild. i am attemptinjg figured
out ...activemdichild, etc and also i can't detecting arraylist or some
keyword "TAG"

in class2.vb
Region "Channel..."
Sub NewChannel(ByVal mparent As mainPirateChat, ByVal szChannel
As String)
m_parent = mparent
nChan = New frmChannel
nChan.MdiParent = m_parent
nChan.Show()
End Sub

#End Region

Public Sub New(ByVal mParent As mainPirateChat)
m_parent = mParent
_Connection = New ConnectionFactory
nStatus = New frmStatus
nStatus.MdiParent = m_parent
nStatus.Show()
End Sub

Public Sub New(ByVal mparent As mainPirateChat, ByVal szChannel
As String)
m_parent = mparent
nChan = New frmChannel
Me.NewChannel(m_parent, szChannel)
End Sub

Private Sub _Connection_onNickJoin(ByVal szNick As String, ByVal szHost
As String, ByVal szChannel As String) Handles _Connection.onNickJoin
If szNick <> "supra2005" Then
nChan.lstNames.Items.Add(szNick)
nChan.Tag = szTag
nChan.Text = szChannel.ToLower & " [" &
nChan.lstNames.Items.Count - 1 & "]"
deleg = New OneArgSub(AddressOf DisplayMessage)
deleg.Invoke(nChan.rtbChannel, "<" & szNick & "> " & "["
& szHost & "] " & " has joined " & szChannel)
Debug.WriteLine("joined :" & nChan.Tag)
End If
End Sub
does ne 1 have ne hints u can help?
regards
Nov 21 '05 #1
0 1076

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Supra | last post: by
1 post views Thread by Mickey Swanson | last post: by
1 post views Thread by Mayolo Juarez via DotNetMonster.com | last post: by
1 post views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.