Results 1 to 6 of 6

Thread: Minimum character length

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Location
    Federal Way, WA, USA
    Posts
    13
    I want to make a program that checks how much characters are in a text box. If there are less than 3 then it would give an error. Any ideas on how I can do that?

  2. #2
    Lively Member
    Join Date
    Mar 2000
    Posts
    82
    If Len(Text1.Text) < 3 Then: MsgBox ("error")

  3. #3
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Bellevue, WA, USA
    Posts
    1,357

    Sure...

    Try this...

    Code:
    If Len(Text1.Text) < 3 Then
        MsgBox "ERROR"  'Your error raise code goes here
    End If
    ~seaweed

  4. #4
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Bellevue, WA, USA
    Posts
    1,357

    rats

    _bman_, I can't believe that this post has been sitting here for an hour and you beat me w/the answer by 2 minutes!

  5. #5

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Location
    Federal Way, WA, USA
    Posts
    13

    thanks you guys

    I appreciate it when people help me out since I've only done programming for so little.

  6. #6
    Lively Member
    Join Date
    Mar 2000
    Posts
    82
    I planned it that way

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