Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Runtime error 10, array fixed or temporary locked???


damian666
 Share

Recommended Posts

Try 'as Double' instead of 'as Long'.  It seems like the data return is too long for…well, a long.

Also, try dividing the variable your using into multiple variables, and adding them up for whatever math needs to be done IE

```
Dim part1 as byte, Dim part2 as byte, Dim part3 as byte, Dim part4 as byte

part1 = 100
part2 = 100
part3 = 100
part4 = (part1 + part2 + part3) ' you'd get an RTE here
```
Instead of declaring a part4 at all, just use the paren'd data, and avoid actually _storing_ the massive value.
Link to comment
Share on other sites

ok, still no luck pinpointing this sucker, anybody know of a way to get atleast a idea where the hell its coming from?

i do have codesmart, but is not helpfull either, because when i try to run it in vb6, i get out of memory error due to the server being over 100 mb, and vb6 cant handle that it seems.

any help on where to add a debug method would be nice .

Damian666
Link to comment
Share on other sites

  • 2 weeks later...

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
 Share

×
×
  • Create New...