User Profile

Collapse

Profile Sidebar

Collapse
Vusys
Vusys
Last Activity: Sep 24 '08, 06:58 PM
Joined: Jan 19 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Vusys
    replied to Check a string for valid characters
    Aha. Thank you kindy, this works just as needed. :]...
    See more | Go to post

    Leave a comment:


  • Vusys
    replied to Check a string for valid characters
    Thank you all for the quick responces,



    I should have been more clear in my first post, but I'm actually putting the text into a string and then checking it, since the textbox is used for more than one thing.



    I tried this in my project, and an empty new one to check the code and got this both times:

    Run-time error '5':
    Invalid procedure call or argument....
    See more | Go to post

    Leave a comment:


  • Vusys
    started a topic Check a string for valid characters

    Check a string for valid characters

    Apologies for posting a question on my first post, anyhow, could someone suggest an idea to turn this into working VB6 code:

    ValidChars = "0123456789 ABC"

    If (TextBox1.Text only contains characters from ValidChars) then
    ' Do whatever '
    Else
    ' Do something else '
    EndIf
    See more | Go to post
No activity results to display
Show More
Working...