Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Another Stupid Newbie Question

Status
Not open for further replies.

IForgot

Programmer
Mar 20, 2002
122
US
Does anyone have an example of a well configured, working VFP Config.FPW file?

I have a very successfuly FPW one, but it includes GENSCRNX, etc. which does not seem appropriate for VFP.

Examples, listed here or downloadable, would be most welcome.

Thanks,
I_Forgot
 
Actually in VFP, most of these settings are now stored in the Registry, and can be set in the Tools, Options ... dialog. My normal Config.FPW file includes (and some of these aren't really necessary):
Code:
resource=d:\vfp70\foxuser
tmpfiles=d:\foxtemp
sortwork=d:\foxtemp
editwork=d:\foxtemp
progwork=d:\foxtemp
default=d:\vfp70
path=d:\vfp70,sys(2023)
status bar=on
TITLE=VFP 7.0 - RGB
OUTSHOW=ON
Rick
 
My config.fpw contains only a few lines:
CODEPAGE=437
RESOURCE="C:\VFP\COMMON\FOXUSER.DBF"
RESOURCE=ON
command = do c:\vfp\common\startup

STARTUP.PRG contains:
*Global Initialization Parameters
SET ANSI OFF
SET BELL OFF
SET BLOCKSIZE TO 64
SET BROWSEIMECONTROL OFF
SET CARRY OFF
SET CENTURY ON
SET CLOCK OFF
SET COLLATE TO ""
SET COMPATIBLE OFF
SET CONFIRM ON
SET CPDIALOG OFF
SET CURRENCY LEFT
SET CURRENCY TO "$"
SET DATE TO SHORT
SET DECIMALS TO 0
SET DEFAULT TO c:\vfp
SET DELETED OFF
SET ESCAPE ON
SET EXACT OFF
SET EXCLUSIVE OFF
SET FDOW TO 1
SET FWEEK TO 1
SET HEADINGS ON
SET HELP ON
SET HOURS TO 12
SET KEYCOMP TO WINDOWS
SET LOCK OFF
SET LOGERRORS ON
SET MARK TO "/"
SET MULTILOCKS ON
SET NEAR OFF
SET NOTIFY ON
SET ODOMETER TO 1000
SET OPTIMIZE ON
SET PALETTE ON
SET PATH TO
SET POINT TO "."
SET REFRESH TO 2,2
SET REPROCESS TO 0
SET RESOURCE TO "c:\vfp\common\foxuser.dbf"
SET RESOURCE ON
SET SAFETY OFF
SET SECONDS ON
SET SEPARATOR TO ","
SET STRICTDATE TO 0
SET SYSFORMATS ON
SET TALK OFF
SET TRBETWEEN OFF
SET UNIQUE OFF

*Load Procedure File
SET PROCEDURE TO C:\VFP\COMMON\VFPPROCS
*SET LIBRARY TO C:\VFP\COMMON\MD5.FLL ADDITIVE
*SET LIBRARY TO C:\VFP\COMMON\CRC32.FLL ADDITIVE

*Function Keys
on key label shift+f12 keyboard "Browse Font 'Lucida Console',8" + chr(13)

*Fonts
_Screen.Fontname = "Lucida Console"
_Screen.Fontsize = 8
_Screen.WindowState = 2


*Ready to Go
 
iforgot....

"Another Stupid Newbie Question"

"The only stupid question is the one that is not asked."

Fire away dog!

Regards - Wayne
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top