[help] modding blubbs shoutbox

Posts 1–3 of 3 · Page 1 of 1
[help] modding blubbs shoutbox
ok i am editing blubbs shoutbox for my needs

i edited a part of the code and on the chatbox it returns FALSE

this is my code

Code:
 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        '0 = Username, 1 = Post, 2 = Email, 3 = Date, 4 = Time
        DisableCloseButton(Me.Handle)
        For Each s As String In ShoutBox.GetAllEntrys("|")

            Dim x() As String = Split(s, "|")
            Dim username As String = x(0)
            Dim post As String = x(1)
            Dim curdate As String = x(3)
            Dim curtime As String = x(4)
            Dim full As String = curdate + " " + username = ": " + post
            'curdate + username =": " + post
            lvMain.Items.Add(full)

        Next
    End Sub


How can i have chat box return like this unstead of the default way?

would i have to change the split so it would look like this?

Code:
 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        '0 = Username, 1 = Post, 2 = Email, 3 = Date, 4 = Time
        DisableCloseButton(Me.Handle)
        For Each s As String In ShoutBox.GetAllEntrys("|")

            Dim x() As String = Split(s, "|")
            Dim username As String = x(1)
            Dim post As String = x(2)
            Dim curdate As String = x(0)
            Dim full As String = curdate + " " + username = ": " + post
            'curdate + username =": " + post
            lvMain.Items.Add(full)

        Next
    End Sub

Thanks Jason for the color Syntax, IT's Epic
Code:
Dim full As String = curdate + " " + username = ": " + post
???

Code:
Dim full As String = String.Format("{0} {1}: {2}", curdate,username,post)
Quote Originally Posted by Blubb1337 View Post
Code:
Dim full As String = curdate + " " + username = ": " + post
???

Code:
Dim full As String = String.Format("{0} {1}: {2}", curdate,username,post)
ill try this when i get home

thanks blubb works =)
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us