I have a vb based software which is very old running on sql server 2000. When I tried to take a report, it says "runtime error 9 Subscript is aout of range".where to find this subscript? Please help me out.Thanks in advance

Recommended Answers

All 3 Replies

Check line 34!

Seriously, how do you expect anyone to point you in the right direction without having a ####ing clue about what you're doing? Post the problematic piece of code.

OK, let's run your VB.net app in Visual Studio. Not the .EXE but the source. Visual Studio has a community version so it's not like you don't have access to VS. When the app faults, VS will stop and show you the line of code with the error. Now the fun begins.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.