hi all..... I am Gary from MAlaysia......I am new here.What i want to ask is why i got this error message...It started whrn i install application in Win XP.So the application can't be start.Before this i already install this application in Win 98 but there is no problem....Can someone pls help me to solve it....Thanks A lot....

Dani AI

Generated

This thread shows multiple reports of the same kind of runtime "out of memory" problem affecting Windows/Office apps across different setups. Posts from and indicate the symptom can arise for different reasons; 's compatibility note highlights that missing or mismatched dependencies are a frequent root cause. Below are concise, prioritized checks and safe fixes that address the most common and fixable causes.

  • Back up the database/app files before making changes.
  • In the VBA editor check Tools -> References for any library marked MISSING; fix or uncheck it, then use Debug -> Compile to expose undeclared references.
  • Run Compact & Repair to fix corruption and free space.
  • Split the database (front end/back end) or reduce the number of records/forms loaded at once.
  • Remove or link large embedded OLE objects and images instead of embedding them.
  • Replace Variant types where possible and prefer Long for counters (VBA Integer is 16-bit).
  • Look for infinite loops, deep recursion, or code that loads entire recordsets into memory; step through the button's code in the debugger.
  • While reproducing the problem, monitor the application process in Task Manager or Process Explorer for memory and handle spikes.
  • Repair or reinstall Office components (DAO/ADO/MDAC) and apply the latest Office/Windows updates or service packs.

Helpful diagnostics to include in follow-ups: exact Office/Access version and service pack, Windows edition and bitness, a copy/listing of Tools->References (note MISSING entries), the exact Subroutine behind the failing control, whether Debug->Compile shows errors, whether Compact & Repair was attempted, and a brief Task Manager snapshot showing the app's memory at failure. Common cautions: always work on a backup copy, avoid blind registry edits or regsvr32 calls, and test repairs on a copy or spare machine. The items above make targeted troubleshooting far easier.

Recommended Answers

All 3 Replies

Can you tell us about the application. Probably there's some compatibility issue of the application with windows xp.

Can you tell us about the application. Probably there's some compatibility issue of the application with windows xp.

The application is IB Patrol that is use for monitoring guard that had do his job or not.....But now the problem was solve already.....I had to install Microsoft Access to work together with this application....Thanks nanosani for ur support....:lol:

Cheers Nanosani!:-)

Please can you help with a similar problem?

I am working with Microsoft Access and i keep running into an error message

Microsoft Visual Basic
Run-time error '7':
Out of memory

This happens whenever i click on a command button in the form.

Please can you help?

Thanks!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.