.SPR

Файл SPR

FoxPro Generated Screen Program
Задать вопрос
БЫСТРЫЙ ОТВЕТ

An SPR file is a plain-text FoxPro/xBase program that GENSCRN generated from a FoxPro 2.x screen design (.scx). Any text editor opens it for reading. To run it you need Visual FoxPro, which is now discontinued. The .spr extension is also used by unrelated formats - most commonly game sprite images - so confirm the file is text before treating it as FoxPro code.

Разработчик: Microsoft (originally Fox Software) Категория: Файлы разработчика MIME: text/plain
ОТКРЫВАЕТСЯ НА Windows macOS Linux
Связанные: .DO · .MD · .HEX · .XSD

На этой странице

Проиндексировано расширений: 19k+
Последняя проверка: Jul 21, 2026

Не знаете, что это за файл?

Перетащите любой файл в наш идентификатор - мы прочитаем первые байты, чтобы определить формат.

Идентифицировать файл

Что такое формат файла SPR?

.spr is a developer file format used to store generated screen program code for a FoxPro form. Rather than being hand-written, an .spr is produced automatically by the GENSCRN code generator from the visual screen design stored in an .SCX file. The generated file contains xBase commands - @ row,col SAY/GET layout statements, a READ command to activate user input, and window definitions - that together implement the form's behaviour at runtime. FoxPro screens can be invoked directly or called from a FoxPro menu or application. The companion compiled output is an .SPX file.

Visual FoxPro was developed by Microsoft, originally created by Fox Software. The package includes a fully-functional programming language, an SQL-compatible database engine, and several database communication interfaces. The .spr workflow was introduced in FoxPro 2.x (early 1990s) and was superseded in Visual FoxPro 3.0 (1995), which adopted native .scx-based form objects without a separate code-generation step. Visual FoxPro's extended support officially ended in 2015, making .spr a legacy developer artifact. Being plain ASCII text, it can be opened in any text editor.

Безопасность и защита

РИСК: LOW

A FoxPro .spr is plain-text source code - it cannot execute on its own (it needs the FoxPro runtime to run), so opening one in a text editor to read it is safe. The only real caution is the heavy extension overloading: a file named .spr might actually be a game sprite image or other binary, so confirm what you have before treating it as FoxPro code. As with any source, review it before running an unfamiliar legacy app it belongs to.

Детали формата

в двух словах
ПОЛНОЕ НАЗВАНИЕFoxPro Generated Screen Programтакже известен как FoxPro screen program, FoxPro form source
РАЗРАБОТЧИКMicrosoft (originally Fox Software)с Early 1990s (FoxPro 2.x screen designer / GENSCRN generator)
MIME-ТИПtext/plain
ТИПPlain-text xBase/FoxPro program code generated from a screen (.scx) design file
СВЯЗАННЫЕ.do.md.hex.xsd
Это расширение также используется в…
  • Sprite / bitmap image (.spr) - Several games and graphics engines (e.g. GoldSrc/Half-Life, Capcom tools) use .spr for sprite images - a binary image format unrelated to the FoxPro source file.
  • Lotus / WordPerfect spreadsheet-print or DESQview file - Older office software used .spr for assorted print/spreadsheet data; obsolete and unrelated to FoxPro.

Программы, открывающие файлы SPR

Windows2 apps
Visual FoxPro Платно Open the .spr in the VFP IDE to view/edit the generated code; use DO file.spr to run it (legacy 2.x project). Note VFP is discontinued (support ended 2015).
Any text editor (Notepad++ / VS Code) Открытый код Open the .spr as plain text to read the generated FoxPro/xBase source - best free way to just inspect it.
macOS1 app
Any text editor (VS Code, BBEdit) Бесплатно Open the .spr as text to read the FoxPro source. (No native FoxPro runtime on modern macOS.)
Linux1 app
Any text editor (VS Code / gedit) Бесплатно Open the .spr as text to inspect the code. To run a legacy FoxPro app, use a DOS/Windows emulator (DOSBox/Wine).

Технические подробности

глубокая спецификация
File classPlain-text xBase/FoxPro program source code
Generated by`GENSCRN` - FoxPro's screen code generator; produces `.spr` from a `.scx` screen design file
Character encodingASCII / OEM code page (DOS-era FoxPro; typically CP437 or CP850)
Line endingsDOS CRLF (`\r\n`) as produced by FoxPro 2.x on MS-DOS and Windows
Compiled counterpart`.spx` - the compiled FoxPro object produced from the `.spr` source
Visual design sourceBinary `.scx` (DBF-format table) + `.sct` (memo) file pair - the inputs to `GENSCRN`
Key xBase commands`@ row,col SAY/GET` (field layout), `READ` (activates input), `DEFINE WINDOW`, `ACTIVATE WINDOW`
Typical file sizeA few KB to tens of KB depending on form complexity
Runtime invocation`DO formname.spr` from the FoxPro command window or a calling program
Supported platformsMS-DOS, Windows (3.x / 9x / NT), classic Mac OS (FoxPro for Macintosh)
Superseded byVisual FoxPro 3.0 native `.scx` form objects - no separate code-generation step required
MIME type`text/plain` (informal: `application/x-foxpro`)
Binary signatureNone - `.spr` is plain text with no magic bytes; typically begins with a generated comment header
File pairingOne `.spr` pairs with a `.scx`/`.sct` design pair and a `.spx` compiled object
Technology lineagePart of the xBase family (dBASE → FoxBase → FoxPro); screen-generation syntax compatible with earlier xBase dialects
ВыпущенEarly 1990s (FoxPro 2.x screen designer / GENSCRN generator)
Последняя версияFoxPro 2.6 (1994); deprecated in Visual FoxPro 3.0+ in favor of native .scx forms
Спецификацияen.wikipedia.org

Конвертации SPR

Вопросы и ответы сообщества

спрошено пользователями
Задать быстрый вопрос
Получите помощь от людей, работающих с файлами SPR. Будьте конкретны - укажите вашу систему и версию ПО.
Аккаунт не нужен · ответы обычно в течение дня

Вопросов пока нет - станьте первым, кто спросит о файлах SPR.

Часто задаваемые вопросы

What is an SPR file in FoxPro?
It's a generated screen program - FoxPro/xBase source code that GENSCRN produced from a FoxPro 2.x form design (.scx). It draws the data-entry screen and handles its input; the compiled version is .spx.
How do I open an SPR file?
Open it in any text editor to read the code, since it's plain text. To run or rebuild it you need Visual FoxPro (now discontinued), where DO file.spr executes the generated screen program.
What's the difference between SPR, SCX and SPX?
.scx (with .sct) is the visual form design, .spr is the readable program GENSCRN generates from it, and .spx is the compiled object that actually runs. In FoxPro 2.x all three coexist.
Can I still run FoxPro SPR files?
Only with Visual FoxPro or a FoxPro 2.x runtime, both long discontinued (VFP support ended 2015). Most people today only read .spr code to maintain or migrate a legacy application, often via a DOS/Windows emulator.
My SPR file isn't FoxPro code - what else could it be?
The .spr extension is overloaded. It's also used for game sprite (bitmap) images (e.g. Half-Life/GoldSrc) and some old office print files. If the file looks like binary gibberish in a text editor, it isn't a FoxPro screen program.

Ссылки

1Microsoft - Visual FoxPro documentation (archive)learn.microsoft.com
2Wikipedia - FoxPro / Visual FoxProen.wikipedia.org

Узнать больше

по всей базе данных

Популярные расширения на этой неделе

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

Похожие расширения

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

Бесплатные инструменты для файлов

Идентификатор файлов и конвертер изображений в браузере - все работает на вашем устройстве.

Открыть инструменты

Обзор расширений файлов A-Z