I've read all the other threads releated to this error, but would appreciate hearing from anyone else who's experienced this annoyance and knows of a solution.

The facts:

- it's nothing to do with gifs

- VB6sp5 - everything works fine for days - even weeks, then the app blows up. I've got error handling in for 50003, but I still have no clue what causes it - I've even dumped the memory in the error handler in case it was a memory leak - it's not!

- I'm pretty sure that it's got nothing to do with a COMCTLxx mismatch - the build machines are pretty much identical to the production machines.

- we have some custom OCXs in the app - they're rock solid though in terms of memory.

Any ideas would be a great help. I can't paste any code - the problem isn't confined to any particular routine.