Sign in to follow this  

redim vb6

Recommended Posts

would be any particular reason for the compiler to say "Subscript out of range", at the line gl_totalmessages = gl_totalmessages + 1 'gl_totalmessages is 2 first time it gets here "ReDim Preserve Message(gl_TotalMessages) As tMessage" it's declared as "dim Message() as tMessage" and i'm redimensioning it there with a specific size... what's the problem?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this