.MPR

MPR File

Visual FoxPro Generated Menu Program
Ask a question
QUICK ANSWER

An MPR file is a plain-text source file automatically generated by Visual FoxPro's Menu Designer. It contains FoxPro code that builds an application menu at runtime. To read it, open it in any text editor. To run or modify it, you need Visual FoxPro 9.0, which Microsoft discontinued in January 2015.

Developer: Microsoft Corporation (original FoxPro by Fox Software, acquired 1992) Category: Developer Files MIME: text/plain
OPENS ON Windows
Related: .DO · .MD · .HEX · .XSD

On this page

19k+ extensions indexed
Last reviewed Aug 7, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the MPR file format?

An .mpr file is a Visual FoxPro Generated Menu Program - a plain-text xBase source file that defines an application's menu structure using FoxPro procedural commands.

.mpr files are not written by hand; they are generated output. The Visual FoxPro Menu Designer stores menu definitions in a binary table pair: the .mnx file (menu structure table) and its companion .mnt memo file. When the developer clicks Generate in the IDE, FoxPro reads those table records and writes an .mpr source file using DEFINE MENU, DEFINE PAD, DEFINE POPUP, and ON SELECTION PAD commands to describe every menu item and its associated action.

The .mpr is then compiled to an .fxp (compiled FoxPro program) before execution at run time. End users never see .mpr files directly. Developers can inspect or patch them in a text editor, but hand-editing is discouraged because re-generating from the .mnx will overwrite any manual changes.

Files are encoded as plain text (CP437 on DOS-era FoxPro, Windows-1252 on Windows versions) and range from under 1 KB for simple menus to around 50 KB for large enterprise application menus.

Visual FoxPro was discontinued by Microsoft; extended support ended in January 2015, with VFP 9.0 SP2 (2007) as the final release. No official successor exists. The community-maintained VFPX project continues to extend VFP 9 with OOP menu alternatives and other tools, and legacy .mpr files remain in many still-running FoxPro business applications worldwide.

Security & safety

RISK: LOW

Plain text source file; cannot execute by itself outside of the Visual FoxPro runtime. No malware vector in isolation. Treat as any legacy source code: keep in version control during migration projects.

Format details

in a nutshell
FULL NAMEVisual FoxPro Generated Menu Programaka FoxPro Menu Program, VFP menu source
DEVELOPERMicrosoft Corporation (original FoxPro by Fox Software, acquired 1992)since FoxPro 2.x era, early 1990s; standardized in Visual FoxPro 3.0 (1995)
MIME TYPEtext/plain
TYPEText source code (generated FoxPro procedural code)
This extension is also used by…
  • MapInfo Professional Report - MapInfo GIS software uses .mpr for print layout/report files; unrelated to FoxPro.
  • Microsoft Project Resource - Older MS Project versions used .mpr for resource-related project templates.

Programs that open MPR files

Windows3 apps
NotePad++ text editor Open-source Open the .MPR to read/edit the generated code. Syntax highlight may be set to 'FoxPro' if available, or plain text.
Visual FoxPro 9.0 Paid Open the companion .MNX file in the Menu Designer; use Modify Menu → re-generate .MPR. VFP EOL January 2015; license still available second-hand.
Visual Studio Code Open-source Open the .MPR as plain text; install the 'FoxPro' VS Code extension for syntax highlighting of xBase/FoxPro code.

Technical details

deep spec
Format typePlain-text xBase procedural source code (generated file)
Text encodingCP437 (DOS-era FoxPro 2.x) / Windows-1252 (Visual FoxPro on Windows)
Typical file size1 KB - 50 KB
Generation sourceProduced by the VFP Menu Designer from .mnx (menu table) + .mnt (memo) - not hand-written
Key FoxPro commandsDEFINE MENU, DEFINE PAD, DEFINE POPUP, ON SELECTION PAD
Compilation outputCompiled by FoxPro to .fxp (compiled program) before execution; the .mpr itself is never executed directly
Hand-editingDiscouraged - re-generating from the .mnx table overwrites any manual edits
Companion files.mnx (menu structure table), .mnt (memo file), .fxp (compiled output)
VFP version compatibilityVFP 3 through VFP 9; syntax is largely backward-compatible across versions
Target OSMS-DOS (FoxPro 2.x); Windows 3.1 through Windows 10 (Visual FoxPro 3-9 era legacy apps)
Current statusObsolete - VFP 9.0 SP2 (2007) is the final release; Microsoft extended support ended January 2015
ReleasedFoxPro 2.x era, early 1990s; standardized in Visual FoxPro 3.0 (1995)
Latest versionVisual FoxPro 9.0 SP2 (final, 2007) - format unchanged

MPR conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with MPR files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about MPR files.

Frequently asked questions

What is an .MPR file?
A Visual FoxPro Generated Menu Program - a plain-text source file automatically created by VFP's Menu Designer. It contains FoxPro code (DEFINE MENU / DEFINE PAD commands) that builds an application menu at runtime.
How do I open or read an .MPR file?
Any text editor works: Notepad, Notepad++, VS Code. You can read and manually edit the FoxPro code. To run it you need Visual FoxPro 9.0 (EOL 2015).
Visual FoxPro is no longer supported - what can I do?
VFP 9.0 SP2 (the last version) still runs on Windows 10/11 under compatibility mode for maintenance. For new development, migrate to .NET, Python, or another platform. The VFPX community project (github.com/VFPX) maintains open-source extensions for VFP 9.
Should I edit the .MPR directly or the .MNX?
Always edit the .MNX in VFP's Menu Designer; it regenerates the .MPR automatically. Editing the .MPR by hand is fragile - the designer will overwrite your changes on the next Generate.
Can I convert an .MPR to run on a modern OS without VFP?
Not directly. The FoxPro menu language has no direct modern equivalent. Migration requires manually porting the menu logic to a new UI framework in the target language.

References

1Microsoft - Visual FoxPro 9.0 lifecyclelearn.microsoft.com
2VFPX community project (VFP 9 extensions)github.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.RPMSGRestricted Permission Message
6.MDMarkdown Document
7.NOMEDIAAndroid No-Media Marker File
8.PRO6XProPresenter 6 Bundle File
9.EXEWindows Executable (Portable Executable)
10.PRDXSoftMaker Presentations Document

Related extensions

.DOStata Do-File
.MDMarkdown Document
.HEXIntel HEX File
.XSDXML Schema Definition
.MAPSource Map (JavaScript / CSS)
.CONFIGConfiguration File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z