Run-time error '5': Invalid procedure call or argument in VB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PrakashN
    New Member
    • Sep 2007
    • 43

    Run-time error '5': Invalid procedure call or argument in VB

    Hai,
    i m receiving "Run-time error '5': Invalid procedure call or argument" especially for (Combo Box) in exe, not in Code . please any one help me.
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    can you kindly post your code for reference of our experts.

    Comment

    • Killer42
      Recognized Expert Expert
      • Oct 2006
      • 8429

      #3
      Originally posted by PrakashN
      Hai,
      i m receiving "Run-time error '5': Invalid procedure call or argument" especially for (Combo Box) in exe, not in Code . please any one help me.
      (Since you didn't say, I'm going to assume you're talking about VB6.)

      In some cases, I think this can hapen when you try to access an element beyond the end of a list. For instance, if you have a listbox with 5 items in it, the ListCount property will show 5. But the list is numbered from 0 to 4. So trying to get item #5 might cause a problem. It probably varies from one control to another, though.

      Comment

      Working...