On Wed, 18 Jan 2006 01:10:05 GMT, "GGerard" <gg*****@nbnet.nb.ca>
wrote:
How many forms would you like to open? You have a front-end MDE +
back-end MDB? What version of Access? What OS?
With the way modern operating systems have near-limitless memory
available (if needed in a swap file), I think it's impossible to
calculate if you can add one more without crashing.
Rather I would look at the nature of your code. For example I think
you would easily be able to open a few dozen instances of any form in
the Northwind sample application. Perhaps something in your code is
contributing to the crash.
I just wrote some code to open the Orders form in Northwind multiple
times. Access 2003 on WinXP. After 54 instances I got a "Reserved
Error". That's plenty of forms for me...
-Tom.
Hello
I have a program where the user can open as many instances of a form as the
user wants.
The only limit to how many instances can be opened is determined by the
limit of the computer itself (the amount of RAM - I think). When enough
instances of this form are opened and the limit of the computer is reached
the program crashes and the user has to CTRL^ALT^DELETE and restart the
program.
Is there a way to detect when the computer is approaching its limit so that
I can prevent other instances of the form from being opened?
Also can anyone point me to some reading material on how to minimize the
amount of RAM used by MSACCESS MDE objects?
Thanks
G.Gerard