User Profile

Collapse

Profile Sidebar

Collapse
brandon01
brandon01
Last Activity: Feb 14 '08, 06:52 AM
Joined: Jan 22 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • brandon01
    started a topic Searching textbox?

    Searching textbox?

    Anyone have any idea how to search a textbox for a word and get the next word after it in vb6?

    example:

    "message" "hello"

    The code should get the 2nd word, "hello".

    I've been trying to find a way to do this, so far I can search for a word but can't find a way to ignore the space character between the words and copy the 2nd word up to the next space character....
    See more | Go to post

  • brandon01
    replied to Subscript out of range?
    Thx, funny, all I had to change was (2) to (1) , thx guys for making things clearer though.
    Text2.Text = bDayArr(1) ' subscript out of range
    See more | Go to post

    Leave a comment:


  • brandon01
    started a topic Subscript out of range?

    Subscript out of range?

    Keep getting "subscript out of range" any idea why? This function is looped btw.. Thx...

    Private Sub getBday()
    bDay = List1.List(next Bday)
    bDayArr = Split(bDay, " - ")
    Text1.Text = bDayArr(0) ' subscript out of range
    Text2.Text = bDayArr(2) ' subscript out of range
    nextBday = nextBday + 1
    End Sub
    See more | Go to post
No activity results to display
Show More
Working...