Re-Compile Program

Contents of this Topic: Show

Overview

About the OM Compiler

Running the OM Compiler

  1. Close Monsoon Order Manager on the computer that is experiencing the problems.

  2. The OM Compiler can executed by double-clicking the file,OM Compiler.mdb, found in the program installation folder. The default installation location is c:\Monsoon Order Manager, but select Info on the Main Menu, or press CTRL+Shift+C to verify the path to the location of the program file.

  3. When the screen opens, select Compile. The file named at the bottom of the screen is the file that will be re-compiled.

  4. The message ”Compacting data file, please wait" eventually appears in the lower left-hand section of the screen. This message is referring to the Monsoon Order Manager program file, not the store data file.

Note1: If you receive a message saying that "Monsoon Order Manager appears to be running" and it is not, close OM Compiler, go to the folder where the program file resides and look for a lock file with the same name as the program file (SEOrderManager.ldb; this is not a typographical error, it is the extension that denotes that it is a lock file, and it is 1KB in size). Lock files are often left behind when an Access program ends abnormally. Delete this file and then re-open the OM compiler utility and repeat steps 2-6.

Note2: If the program file noted at the bottom of the window is not the correct program file, select Exit and follow the directions in the next section for manually re-compiling the program file and the directions in article Compact and Repair database to manually compact the program file. This situation can occur when multiple versions of Monsoon Order Manager are installed in the same folder (if program is not un-installed before upgrading).

  1. When the process is complete, the Done! message box pops up. Select OK and Exit to close the utility.

  2. Launch Monsoon Order Manager normally.

Manually Re-Compile the Program

  1. Close the Monsoon Order Manager program.

  2. Press and hold down the Shift key while double-clicking the Monsoon Order Manager shortcut on the desktop to open the database window.

  3. Press Ctrl+G to open a Visual Basic window.

  4. From the MS Visual Basic menu, select Debug > Compile SEOM.

  5. If Compile SEOM is grayed-out, take the following actions to force a re-compile of the program. Otherwise, skip to Step 6:

    1. Go to Tools > References.

    2. Select the first unchecked, check box (make a note of the label of box that you select).

    3. Select OK.

    4. Go to Debug and select Compile SEOM from the drop-down list.

    5. Go to Tools > References.

    6. Clear the check box you selected previously.

    7. Select OK.

    8. Go to Debug and select Compile SEOM from the drop-down list.

  1. When the program file has been re-compiled successfully, close the Visual Basic window, close the Microsoft Access window and re-start Monsoon Order Manager normally.

 

 

Created: 1/26/11

Revised: 9/18/14

Published: 08/19/15