Results 1 to 11 of 11

Thread: [RESOLVED] Concatenation Problem

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2005
    Posts
    5

    Resolved [RESOLVED] Concatenation Problem

    [RESOLVED] my problem is that im trying to get the lblWord to display "*********"
    all the variables are dimmed appropiately and are working, i can set strNewWord = "*" and then lblWord will display "*" but the concatenation just doesnt seem to work
    if theres any other info you guys need just ask, im totally lost
    *EDIT* this segment was solved using the line
    strNewWord = String(Len(strWord), "*")

    however i need this part in another part of the program and im wondering, is there any reason for the line
    strNewWord = strNewWord & strWordAst(bytI)
    to not work? i have ALL variables declared and they all can be assigned values and i have even tested strNewWord, but this one line just doesnt seem to work


    strWord = "Microsoft"
    bytLength = Len(strWord)
    For bytI = 1 To bytLength
    strWordAst(bytI) = "*"
    strNewWord = strNewWord & strWordAst(bytI)
    Next bytI
    lblWord.Caption = strNewWord
    Last edited by benjiman; Jun 20th, 2005 at 09:25 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width