ADT/ODE: Invalid Page Fault in Module ACMSETUP.EXE
ID: Q141626
|
The information in this article applies to:
-
Microsoft Access Developer's Toolkit, version 7.0
-
Microsoft Office 97 Developer Edition Tools
-
Microsoft Office Developer Edition 97
SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
When you create disk images for your application using the Setup Wizard,
and you include a shortcut for a Compact or a Repair And Compact of your
database and a shortcut for a Readme or Help file, you may receive an
Invalid Page Fault in module Acmsetup.exe because of a Compact command-
line switch that is appended to your Readme/Help file command line.
CAUSE
The command line that causes the page fault will be in the following
format:
$(FilePath)\readme.txt /compact
-or-
$(FilePath) \Help.hlp /compact
RESOLUTION
To work around this behavior, do one of the following:
In Microsoft Office 97 Developer Edition Tools:
On the Add Shortcuts Page, click the General Shortcut Properties tab,
click "I would like to specify my own custom command line," and then
type $(FilePath)\Readme.txt or $(FilePath)\Help.hlp, depending on the file type, in the Command Line box for
both your Readme and your Help file.
In Microsoft Access Developer's Toolkit version 7.0:
Select "$"Specify My Own Custom Command Line" from the Command-Line Style
section for both your Readme and your Help file. In the command line, type
$(FilePath)\Readme.txt or $(FilePath)\Help.hlp, depending on the file type.
MORE INFORMATION
Steps to Reproduce Behavior
- On the ShortCuts screen of the Setup Wizard, click the Add button.
- On the Database Shortcut Properties tab ( or in the Properties dialog
box in the ADT version 7.0), select your database in the File To Open
box.
- Type My Application Compact in the
Description box.
- Click Compact or Repair And Compact on the Database Shortcut Properties
tab (or in the Database Shortcut Action in the ADT version 7.0).
- Click Add.
- Add either a Help file or a Readme file.
- Type a description for the file.
- Leave the default of Use Wizard-Provided Command-Line.
NOTE: In the ODE Setup Wizard, you must click the General Shortcut
Properties tab to see the default for the Command line.
- From the list of Shortcuts, select your application's shortcut.
- Click the Help or Readme shortcut. Note that the command line
of the Help or Readme file has changed to $(FilePath)\readme.txt
/compact or $(FilePath) \Help.hlp /compact.
- Complete the Setup Wizard, and run setup for your custom application.
Note that you receive an invalid page fault error.
REFERENCES
For more information about creating shortcuts, search the ODE or ADT Help
Index for "shortcuts," and then "compacting and repairing data in run-time
applications."
Additional query words:
Keywords : kberrmsg GnlApp
Version : 7.0 97
Platform : WINDOWS
Issue type : kbprb