Microsoft Visual FoxPro 7.0 Readme

This document contains last minute notes from the Microsoft Visual FoxPro product team. The information in this Readme is more up to date than the information in the online documentation.

For the latest information about Visual FoxPro, please visit the Visual FoxPro home page at http://msdn.microsoft.com/vfoxpro.

For information about new features and changes since previous versions of Visual FoxPro, see the "What's New" section in the online documentation.

Note   If you have installed a beta version of either Visual FoxPro 7.0 or Visual Studio.NET, you must uninstall that product before installing the full version of Visual FoxPro 7.0. Additionally, you should run the VFPCLEAN.APP utility the first time you launch Visual FoxPro 7.0 after installation.

 


 

1. Getting Started with Microsoft Visual FoxPro

 

1.1. System Requirements

Visual FoxPro has the following minimum system requirements:

 

1.2. Installation

Visual FoxPro requires you to be an administrator on the local computer to install and use all the provided tools effectively.

 

1.2.1. Installing Visual FoxPro

If you have installed a beta version of either Visual FoxPro 7.0 or Visual Studio.NET, it is important that you uninstall that product before installing the full version of Visual FoxPro 7.0. In addition, the first time you launch Visual FoxPro 7.0 after installation, you should run the VFPCLEAN.APP utility. For more information, see "Using the VFPCLEAN.APP Utility" later in this Readme.

You might want to configure a Windows 2000 or Windows NT 4.0 Server computer with Internet Information Server (IIS) if you plan to use Visual FoxPro for publishing Web Services. Refer to your operating system documentation for instructions on setting up and configuring IIS.

Note   The Visual FoxPro Setup application requires Microsoft Internet Explorer 5.0 to run. If you are installing Visual FoxPro on a machine with a version of Internet Explorer earlier than 5.0, the CD will display the VFPStart.htm page, which only provides steps for installing Visual FoxPro. Part of the Visual FoxPro installation process is the Windows Component Update, which installs Internet Explorer 5.5 if an earlier version is found. After this version of Internet Explorer is installed, the CD will launch the VFPStart.hta application with additional Setup options, including InstallShield, MSDE, and the SOAP Toolkit.

To install Visual FoxPro

  1. Close all open applications.
  2. Insert the Visual FoxPro CD, and the VFPStart page displays automatically. From this page, you can install the components that are included with Visual FoxPro.
  3. Select the Install Visual FoxPro 7.0 link on the VFPStart page. This opens the Visual FoxPro Installation wizard. Follow the instructions in the Installation wizard.
  4. In the Installation wizard, click Windows Component Update to install required system components. This might require one or more computer restarts.
  5. Click Visual FoxPro to install the Visual FoxPro components.
  6. In the Features list, verify the Visual FoxPro components you want to install.
    Note   Visual FoxPro cannot be installed to a mapped drive. You must install Visual FoxPro on a local hard drive. Do not attempt to use the "map network drive" functionality inside the Setup program.

 

1.2.2. Installing Additional Applications

Visual FoxPro includes copies of additional software that you can install and use with Visual FoxPro. These include:

To install InstallShield Express

  1. Insert the Visual FoxPro CD, and the VFPStart page opens automatically. From this page, you can install the components that are included with Visual FoxPro.
  2. Select the Install InstallShield Express link on the VFPStart page. This opens the InstallShield Express Installation wizard.
  3. Follow the instructions in the Installation wizard.

The Setup.exe file for InstallShield also can be located in the InstallShield folder on the Visual FoxPro CD.

To install SOAP Toolkit 2.0

  1. Insert the Visual FoxPro CD, and the VFPStart page opens automatically. From this page, you can install the components that are included with Visual FoxPro.
  2. Select the SOAP Toolkit 2.0 link on the VFPStart page. This opens the SOAP Toolkit 2.0 Installation wizard.

The soapsdk.msi and soapsamp.msi files for the SOAP Toolkit also can be located in the SOAPToolkit folder on the Visual FoxPro CD.

To install MSDE

  1. Insert the Visual FoxPro CD, and the VFPStart page opens automatically. From this page, you can install the components that are included with Visual FoxPro.
  2. Select the Install Microsoft SQL Server Desktop Engine (MSDE) link on the VFPStart page. This option installs MSDE without an Installation wizard. You will be asked to verify your selection to install MSDE.

The Setup.exe file for MSDE also can be located in the SQLMSDE folder on the Visual FoxPro CD.

To install MSDN Library

  1. Insert MSDN CD 1, and MSDN Installation wizard opens automatically.
  2. Follow the instructions in the Installation wizard.

The Setup.exe file for MSDN also can be located in the root folder on the MSDN CD 1.

 


 

2. Known Issues

This section lists known issues in this release of Visual FoxPro.

 

2.1. General Issues

 

2.2. Language Element Issues

nFlag Value Description
32 BIF_VALIDATE Validates the edit box contents. If the edit box is used, it is necessary to validate the user-specified content. If the user types an invalid name into the edit box, the Cancel button becomes the only selection available. This flag is ignored if BIF_EDITBOX is not specified.

nConversionSetting Conversion
13 Converts single-bytes in cExpression to encoded base64 binary.
14 Converts single-bytes in cExpression to decoded base64 binary.

Example

? STRCONV("ABC",13)      && Encode the string to base64 "QUJD" 
? STRCONV("QUJD",14)     && Decode this string "ABC"
Note   Base64 encoding in Visual FoxPro is intended to encode only binary data.

 

2.3. XML Support Issues

Code Page Platform Encoding Attribute in XML Declaration
936 Traditional Chinese gb2312

In addition, the encoding attribute for the following code pages is changed from that listed in online Help.

Code Page Platform Encoding Attribute in XML Declaration
437 US-MS-DOS ibm437
850 International MS-DOS ibm850
865 Nordic MS-DOS (empty string)
866 Russian MS-DOS cp866

CURSORTOXML( ) does not support the following code pages, even though these code pages are supported by Visual FoxPro's data engine.

Code Page Platform Encoding Attribute in XML Declaration
10000 Macintosh macintosh
10006 Greek Macintosh x-mac-greek
10007 Cyrillic Macintosh x-mac-cyrillic
10029 East European Macintosh x-mac-ce
874 Thai Windows windows-874
861 Icelandic MS-DOS ibm861

XSD Data Type Visual FoxPro Data Type
xsd:string character
xsd:int integer
xsd:decimal number
xsd:date date
xsd:dateTime datetime
xsd:boolean logical
xsd:double double
xsd:binaryBase64 memo (binary)
xsd:string (>254 characters in length) memo

nFlag Bit Description
2048 100000000000 Used when the imported schema has an XSD schema containing decimal data type with the restrictions (facets) that totalDigits="19" and fractionDigits="4".

XSD data type values will be mapped to the Visual FoxPro currency data type in the resultant cursor.
4096 1000000000000 Disables base64 decoding.

Base64 encoding in Visual FoxPro is intended to encode only binary data.

nFlag Bit Description
4096 1000000000000 Disables base64 encoding.

The CURSORTOXML( ) function exports memo (Binary) fields as xsd:base64Binary unless you use nFlag = 4096. Base64 encoding in Visual FoxPro is intended to encode only binary data.

 

2.4. OLE DB Provider Issues

Data type Indicator Size Range OLE DB type
Numeric N 1 to 20 bytes - .9999999999E+19 to .9999999999E+20 DBTYPE_DECIMAL
Float F 1 to 20 bytes - .9999999999E+19 to .9999999999E+20 DBTYPE_DECIMAL

 

2.5. InstallShield Express Issues

File name Language
vfp7rchs.msm Simplified Chinese
vfp7rcht.msm Traditional Chinese
vfp7rcsy.msm Czech
vfp7rdeu.msm German
vfp7resn.msm Spanish
vfp7rfra.msm French
vfp7rkor.msm Korean
vfp7rrus.msm Russian

 


 

3. Additional Information

 

3.1. Using the VFPCLEAN.APP Utility

Visual FoxPro ships with a new utility called VFPCLEAN.APP, which is located in the HOME( ) directory. This utility repairs common problems associated with having installed earlier (Beta) versions of Visual FoxPro 7.0 on the machine. These problems include invalid registry keys and outdated core product files. The outcome of running this file is intended to restore the state of Visual FoxPro to that of a clean installation.

The VFPCLEAN tool can be run in two different modes:

The following functions are performed by VFPCLEAN.APP:

To run VFPCLEAN.APP

 

3.2. Using Add-ins in the Object Browser

The Object Browser Add-In Setup wizard has additional features that are not currently documented. You can access these options from the "Click here for Advanced Options" link on the last page of the wizard.

Properties

Object Browser add-ins are represented by objects. If you are using a common add-in class for multiple add-ins, you might want to reuse certain custom properties, but with different settings. This option allows you to create your own add-in classes that contain custom properties. Additionally, it is also useful with 3rd party add-ins which might not have source code included.

For example, imagine the following add-in class with several custom properties:

DEFINE CLASS SomeAddIn AS AddIn
   SomeProperty = .F.
   SomeOtherProperty = "Test"
   ** More code to be provided here...
ENDDEFINE

Through the Properties field of the Add-in wizard, you can easily override these properties so that they cause the add-in to behave a little differently.

SomeProperty = .T.
SomeOtherProperty = "Something Else"

User Defined Settings

The User Defined Settings field is tied directly to the User field in your Objectbrowser.dbf table. The Object Browser itself does not explicitly use this field, however, you can use this field for an add-in or other customization to store or retrieve information not natively stored by the Object Browser.

 

3.3. Getting Started Articles on the CD

The Visual FoxPro CD contains, in the \Technical Articles folder, several papers about accessing and creating data and applications with Visual FoxPro tools for first-time or occasional users. For a list of papers, see articles.htm in the \Technical Articles folder. In addition, there is a paper about deployment (VFPDeploy.doc), which contains valuable information regarding file dependencies needed for distributing custom applications with InstallShield and other Windows Installer-based deployment products.