Results 1 to 5 of 5

Thread: Beginner question - while mutitple conditions..

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    12

    Beginner question - while mutitple conditions..

    I get an error...

    Code:
    while Hex(Asc(Mid(Rawstr, RStringIdx, 1))) <> "9" or chr(10)
    How to fix multiple condition...
    Last edited by w00tie; Oct 5th, 2009 at 08:42 AM.

  2. #2

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    12

    Re: Beginner question - while mutitple conditions..

    sry but it does not work for me...

    I still receive " run-time error '5' : invalid procedure call or argument"...

  4. #4
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Beginner question - while mutitple conditions..

    If RStringIdx is < 1, you will get that error. Validate it is > 0.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  5. #5

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