Okay, I have a program that has recently come back to me having issues of Out of Memory Errors (Err#7) coming up on some people's machine when they run it. After doing some checking and alot of work with some of these specific people I have tracked the offending code down but the problem is I see no reason why it is causing the error at all or have any clue how to fix it.

The error is occuring when I use the Show command on a form. I have no clue why it is causing this error as use of the show command of some of the other forms in the project do not cause the error (atleast the first two forms that use the Show command work perfectly).

Now the program works perfectly fine on my machine and on a bunch of other peoples machines, so I can not directly reproduce the error. Therefore I adding logging code to my program till and had them run it to track down the offending spot and in every single case it came down to the Show command. Now I do know that the computers having the issues have plenty of memory (all had 256 meg or more) and they didn't have anything else but the OS running at the time.

If anyone could help shed some light on this problem, I would be greatly appreciative.

-TL