Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

runtime error 9 at startup

Status
Not open for further replies.

hinchdog

Programmer
Feb 14, 2001
380
US
i can run my program fine from visual basic. however, when i compile i get "runtime error 9" after i launch the app. what could be causing this?
 
`Runtime Error 9: Subscript out of range'

Two questions to ponder:

1. Are you running SP5 on your VB6. There have been some reports of 'runtime error 9' probs with earlier versions.

2. Have you used either an installer or PDW to sort out distribution. You need VB6 runtime kit on the target machine, otherwise you'll get 'runtime error 9' amongst others. Let me know if this helps
________________________________________________________________
If you are worried about how to post, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
yes i have SP5. and i'm using windows installer to deploy. what exactly is the runtime error telling me, that i'm missing a dependency?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top