powered by simpleCommunicator - 2.0.60     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / FoxPro, Visual FoxPro [игнор отключен] [закрыт для гостей] / Запуск VFP c параметрами.
3 сообщений из 3, страница 1 из 1
Запуск VFP c параметрами.
    #32960053
Vitalь
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
С какими параметрами можно запустить vfp.exe?
...
Рейтинг: 0 / 0
Запуск VFP c параметрами.
    #32960067
Фотография Hel!Riser
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Command-Line Switches
You can add switches to the Visual FoxPro command line to affect how the program starts.

To use a command-line switch

Add the switch after Vfp6.exe on the command line or in a shortcut.
If the command-line switch includes a file name, do not put any spaces between the switch and the file name.

Switches
-A

Ignores the default configuration file and Windows registry settings. This is equivalent to starting Visual FoxPro with the configuration settings it had when first installed, which can be useful for debugging settings that might cause Visual FoxPro to start incorrectly.

For details about configuring the Visual FoxPro environment, see Chapter 3, Configuring Visual FoxPro in the Installation Guide.

-BFileName

Displays your own bitmap when Visual FoxPro is started. If the bitmap you specify cannot be located, a bitmap isn't displayed when Visual FoxPro is started. The -b command line switch can also be included in a Visual FoxPro shortcut:

C:\Program Files\Microsoft Visual ;
Studio\Vfp98\Vfp6.exe -bC:\Mydir\Mybmp.bmp

-CFileName

Specifies a configuration file (including path if necessary) other than the default (Config.fpw). Create the configuration file using any text editor.

For details about configuring the Visual FoxPro environment, see Chapter 3, Configuring Visual FoxPro, in the Installation Guide.

For example, to start Visual FoxPro with a custom configuration file, you would alter the command to something like this:

C:\Program Files\Microsoft Visual ;
Studio\Vfp98\Vfp6.exe -CMYConfig.fpw

-DFileName

Specifies a runtime .DLL file (including path if necessary) other than the default. Using this switch allows you to try different versions of the runtime DLL, for example, different releases.

For more information, see “Including a Run-Time Library” in Chapter 27, Extending Visual FoxPro with External Libraries, in the Programmer's Guide.

-LFileName

Specifies a resource file (including path if necessary) other than the default. Using this switch allows you to use Visual FoxPro in a language other than the current language specified by the system.

-R

Refreshes the Windows registry with information about Visual FoxPro, such as associations for Visual FoxPro files. Using this switch is similar to double-clicking a .REG file. The -R switch does not update the registry with settings from the Options dialog.

-T or /nologo

Suppresses the display of the Visual FoxPro sign-on screen (banner).

To start Visual FoxPro without a sign-on screen, use these commands:

C:\Program Files\Microsoft Visual Studio\Vfp98\Vfp6.exe –T
C:\Program Files\Microsoft Visual Studio\Vfp98\Vfp6.exe /nologo

(с) хельп
...
Рейтинг: 0 / 0
Запуск VFP c параметрами.
    #32960105
Andrey Ts
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Hel!Riser
-CFileName

Specifies a configuration file (including path if necessary) other than the default (Config.fpw). Create the configuration file using any text editor.

For details about configuring the Visual FoxPro environment, see Chapter 3, Configuring Visual FoxPro, in the Installation Guide.

For example, to start Visual FoxPro with a custom configuration file, you would alter the command to something like this:

C:\Program Files\Microsoft Visual ;
Studio\Vfp98\Vfp6.exe -CMYConfig.fpw

При этом может оказаться полезным запускать свой prg (с настройками макросов, например). Надо указать в конце Config.fpw:
Код: plaintext
COMMAND=DO my_sets.prg
...
Рейтинг: 0 / 0
3 сообщений из 3, страница 1 из 1
Форумы / FoxPro, Visual FoxPro [игнор отключен] [закрыт для гостей] / Запуск VFP c параметрами.
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]