Microsoft KB Archive/191403

= PRJ98: Crash When Running Macro to Access List Properties =

Article ID: 191403

Article Last Modified on 1/23/2007

-

APPLIES TO


 * Microsoft Project 98 Standard Edition

-



This article was previously published under Q191403



SYMPTOMS
In Microsoft Project 98, when you run a Microsoft Visual Basic for Applications macro that accesses one of the List properties, you may receive one of the following error messages:

In Windows 95
This program has performed an illegal operation and will be shut down.

If the problem persists, contact the program vendor.

When you click Details, you receive the following message:

WINPROJ caused an invalid page fault in module WINPROJ.EXE at

In Windows NT
An application error has occurred and an application error log is being generated.

WINPROJ.EXE Exception: access violation, Address:.



CAUSE
This problem occurs when the summed total length of all names returned by the property exceeds approximately 32,000 characters.



WORKAROUND
Shorten the names in the collection. For example, if all of your project's filter names are about 30 characters long, make the name of each filter shorter.



STATUS
Microsoft has confirmed this to be a problem in the versions of Microsoft Project listed at the beginning of this article.



MORE INFORMATION
The List properties return the names of views, tables and filters. The property names are:

ReportList

ResourceFilterList

ResourceTableList

ResourceViewList

TaskFilterList

TaskTableList

TaskViewList

ViewList

Keywords: kbbug kberrmsg kbpending KB191403

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.