Automation error - run out of memory

B

bzamfir

Hi,

I need to process a Word doc through automation from Access.
When I perform a Search (using Search word object) I get the following
error:

Automation error - Run out of memory?

What could be the problem?

If I run the same code from a module in the word document, everything works
fine.

I have a P4 2,4 GHz with 512 MB ram, and WinXP PRO with Word 2000 and Access
2000

Regards,
Bogdan
 
A

Arvin Meyer

I was getting these a lot just last night. Task Mgr was reporting that I had
almost 800 MB of free memory and was using less than 5% of my processor. It
was caused by a corrupt form. I copied the code out to a text file. Deleted
the entire database, opened the last known good version (about 4 hours old),
then deleted the code in the suspect form that I had been working on. I then
compacted it twice, reopened it and copied and pasted all the code I'd
worked on back in. Everything worked fine after that.

Corruption will often manifest itself with cryptic error messages.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 
B

bzamfir

Hi,

Unfortunately it didn't worked.
The MDB is a clean, new one, with only one form and required modules.
Nothing more.

Any other suggestion?

Regards,
Bogdan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top