ACC2000: Error Message When You Run SysCmd in an Access Project (214709)
The information in this article applies to:
This article was previously published under Q214709 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies only to a Microsoft Access project (.adp).
SYMPTOMS
When you try to run the Visual Basic for Applications method SysCmd with acSysCmdGetWorkgroupFile as the action, you may receive the following error message, and then Access quits:
In Microsoft Windows 95 or Microsoft Windows 98:
This program has performed an illegal operation and will be shut down.
If the problem persists, contact the program vendor.
When you click Details (on Microsoft Windows Millennium Edition, press ALT+D), you receive the following message: MSACCESS caused an invalid page fault in MSACCESS.EXE at 0137:303093eb.
NOTE: The actual memory address may vary.
In Microsoft Windows NT or Microsoft Windows 2000:
MSACCESS.exe has generated errors and will be closed by Windows. You will need to restart the program.
An Error log is being created.
CAUSE
You are trying to run SysCmd(acSysCmdGetWorkgroupFile) in a Microsoft Access project.
RESOLUTION
Run the SysCmd method with acSysCmdGetWorkgroupFile as the action from an Access database (.mdb).
NOTE: Even if the error did not occur, the method would not return the name of the workgroup file because Access projects do not use Microsoft Jet.
STATUSMicrosoft has confirmed that this is a problem in Access 2000.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbbug kbpending kbProgramming KB214709 |
---|
|