.PRX

PRX File

FoxPro Compiled Program File
Ask a question
QUICK ANSWER

A PRX file is a compiled FoxPro program - binary bytecode produced when you run the COMPILE command on a .PRG source file in Microsoft Visual FoxPro. To run it you need Visual FoxPro 9.0, a product Microsoft discontinued in 2007 (support ended 2015). PRX files have nothing to do with Windows Media Player or video; they are legacy database program files.

Developer: Microsoft (Visual FoxPro); originally Fox Software (FoxBase/FoxPro) Category: Executable Files MIME: application/octet-stream
OPENS ON Windows
Related: .APK · .EXE · .VBS · .JAR

On this page

19k+ extensions indexed
Last reviewed Sep 2, 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 PRX file format?

A .prx file is the compiled bytecode output produced when Visual FoxPro processes a .prg source program with its COMPILE command. Rather than native machine code, .prx files contain p-code interpreted at run time by the VFP runtime engine. The compiled format appeared in FoxPro 2.x (DOS and Windows editions) and all Visual FoxPro versions from 3.0 through 9.0 SP2 (2007).

The internal bytecode is proprietary and undocumented; it is not cross-version compatible - a .prx file compiled under VFP 6 will not run correctly under VFP 9. Visual FoxPro also produces compiled files with the .fxp extension; the runtime selects .fxp first when both are present, falling back to .prx if .fxp is absent. Unlike the original .prg source, .prx files are binary and cannot be read as plain text.

The .prx extension is occasionally confused with the Sony PSP PRX format - PlayStation Portable relocatable executables used for firmware plugins - which is an entirely unrelated binary format. Microsoft ended Visual FoxPro development in 2007; extended support concluded January 13, 2015. Running VFP applications today typically requires Windows XP/Vista compatibility modes or a virtual machine. The VFPX open-source community maintains extensions to the frozen VFP codebase, including tooling for DBF database access.

Security & safety

RISK: MEDIUM

.prx files are interpreted bytecode executed by the VFP runtime - they can perform file system and registry operations within the limits of what FoxPro allowed. In modern context: a .prx file from an untrusted source should not be executed. The main concern today is legacy system vulnerabilities; VFP 9.0 has received no security patches since 2015.

Format details

in a nutshell
FULL NAMEFoxPro Compiled Program Fileaka Visual FoxPro compiled program, FoxPro compiled PRG
DEVELOPERMicrosoft (Visual FoxPro); originally Fox Software (FoxBase/FoxPro)since circa 1987 (FoxBase/FoxPro era); .prx extension used through Visual FoxPro 9.0 (2004)
MIME TYPEapplication/octet-stream
TYPECompiled FoxPro/Visual FoxPro bytecode binary (compiled from a .PRG source program)
This extension is also used by…
  • PlayStation Portable PRX (PSP Plugin/Firmware) - PRX on PSP is a Relocatable Executable (ELF-based, MIPS) used for PSP firmware modules and plugins - completely unrelated to FoxPro.
  • Polaris Office Template - Some versions of Polaris Office use .prx as a template or extension file; niche, mobile-office context.

Programs that open PRX files

Windows1 app
Microsoft Visual FoxPro 9.0 Paid Run the compiled .prx from within the VFP environment: 'DO program.prx' in the Command Window, or the runtime (VFP9R.DLL) executes it as part of an application.

Technical details

deep spec
File encodingBinary (compiled p-code bytecode; not human-readable)
Byte orderLittle-endian (x86 Windows target platform)
Bytecode typeInterpreted p-code executed by the VFP runtime, not native machine code
Source relationshipCompiled from a `.prg` source file using the VFP `COMPILE` command; source and compiled file share the same base name
Version bindingBytecode is not cross-version compatible - `.prx` compiled under VFP 6, 7, 8, or 9 runs only on that version's runtime
Runtime file preferenceVFP runtime executes `.fxp` if present in the same directory; falls back to `.prx` if `.fxp` is absent
Typical file size1 KB - 500 KB depending on program complexity
Format documentationProprietary and undocumented by Microsoft; no public specification exists for the bytecode structure
Operating systemWindows 95 through Windows XP/Vista (primary VFP 9 targets); possible under Wine on Linux
Product statusVisual FoxPro 9.0 SP2 is the final version; extended support from Microsoft ended January 13, 2015
Extension conflictUnrelated to Sony PSP `.prx` (PlayStation Relocatable Executable), a firmware plugin format for the PSP handheld
Related formats`.prg` (FoxPro source program), `.fxp` (alternate compiled format), `.dbf` (FoxPro database table)
Releasedcirca 1987 (FoxBase/FoxPro era); .prx extension used through Visual FoxPro 9.0 (2004)
Latest versionVisual FoxPro 9.0 SP2 (2007) - final version; product EOL

PRX conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with PRX 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 PRX files.

Frequently asked questions

What is a .prx file?
A compiled FoxPro/Visual FoxPro program file - bytecode generated by compiling a .prg source file. It requires Visual FoxPro 9.0 or earlier to run, a product discontinued by Microsoft in 2007.
Can I open a .prx file in Windows Media Player?
No - a .prx file is a compiled database program, completely unrelated to media playback. The association in some databases is an error.
How do I run a .prx file?
You need Microsoft Visual FoxPro 9.0 installed. In the VFP Command Window, type: DO yourprogram.prx. VFP 9.0 SP2 can be downloaded from Microsoft's site for licensed users.
Can I convert .prx to .exe?
No - .prx is interpreted bytecode and cannot be converted to a standalone executable. VFP could build .exe distributions, but that required the original .prg source and the VFP IDE.
Is .prx the same as the PSP PRX file?
No - completely different formats. PSP .prx files are MIPS ELF executables for the PlayStation Portable firmware. FoxPro .prx files are bytecode for the Visual FoxPro database runtime.

References

1Microsoft KnowledgeBase - Visual FoxPro File Extensions (Q130686)jeffpar.github.io
2VFP Help - COMPILE Commandvfphelp.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.DATProgram Data File (generic)
4.JPGJPEG Image
5.RPMSGRestricted Permission Message
6.EXEWindows Executable (Portable Executable)
7.JSONJavaScript Object Notation file
8.PARTPartial Download File
9.BINCD/DVD Disc Image (BIN/CUE)
10.ICSiCalendar data file

Related extensions

.APKAndroid Package
.EXEWindows Executable (Portable Executable)
.VBSVBScript file (Visual Basic Script)
.JARJava Archive
.EX4MetaTrader 4 Compiled Program (Expert Advisor / Indicator / Script)
.APPXMicrosoft Windows App Package (AppX)

Free file tools

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

Open the toolbox

Browse file extensions A-Z