Article ID: 148148
Article Last Modified on 9/26/2003
APPLIES TO
- Microsoft Project 4.1 Standard Edition
- Microsoft Project 4.1a
This article was previously published under Q148148
SYMPTOMS
In Microsoft Project, if you use the calendar Period method, you may
receive one of the following error messages:
Out of memory or system resources. Run-time error '7': Out of memory.
The instruction at "0x77f57bfc" referenced memory at "0xaaaaaaab".
The memory could not be "read".
If you click OK to the above message, your computer may crash.
CAUSE
You may experience this problem if the Period method parameters are not
either entered as strings or converted to strings.
NOTE: Microsoft Project online Help notes that strings should be passed to the Period method.
RESOLUTION
To resolve this problem, use the convert string function with the
parameters you supply to the Period method. For example, the following,
using the CStr function, works correctly:
Set p = ActiveProject.Calendar.Period(CStr(#1/1/96#, CStr(#1/1/96#))
However, the following produces an error:
Set p = ActiveProject.Calendar.Period(#1/1/96#, #1/1/96#)
STATUS
Microsoft has confirmed this to be a problem in the versions of Microsoft
Project listed above.
Additional query words: 4.10a freeze lock lockup
Keywords: kbbug kbpending kbusage KB148148