Microsoft Visual FoxPro 8.0 Readme

This document contains the most recent notes from the Microsoft Visual FoxPro product team and has more updated information than the online help documentation. For information about new features since previous versions of Visual FoxPro, see "What's New in Visual FoxPro 8.0" in the Visual FoxPro Help. It is also very important that you read the "Behavior Changes Since Visual FoxPro 7.0" topic so that you are aware of product changes that might impact you when migrating your existing applications to Visual FoxPro 8.0.

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


 

1. Getting Started with Microsoft Visual FoxPro

This section contains system requirements and installation information. 

1.1. System Requirements

Visual FoxPro has the following minimum system requirements:

1.2. Installation

You must have administrator privileges to install Visual FoxPro. Microsoft recommends that you run Visual FoxPro with at least power-user privileges to be able to use all the provided tools effectively.

1.2.1. Installing Visual FoxPro

You can safely install or uninstall using Visual FoxPro 8.0 Setup. If you are upgrading to Visual FoxPro 8.0, you must first uninstall Visual FoxPro 7.0. Though Visual FoxPro 8.0 and Visual FoxPro 7.0 can exist on the same computer, you cannot install Visual FoxPro 8.0 in the same directory as Visual FoxPro 7.0.

If you plan to publish XML Web services using Visual FoxPro, you might want to set up Internet Information Services (IIS) on a Windows 2000 or Windows XP computer. Refer to your operating system documentation for instructions on how to set up and configure IIS.

Important   Unlike Visual FoxPro 7.0, the Visual FoxPro 8.0 Setup no longer installs any Windows operating system Service Packs or versions of Internet Explorer. It is highly recommended that you install the latest versions of these components before installing Visual FoxPro 8.0. Additionally, Visual FoxPro 8.0 is only supported on Windows 2000 Service Pack 2 or later. For details about installing the latest Service Pack, visit the Microsoft Web page at http://www.microsoft.com/windows2000/.

To install Visual FoxPro

  1. Quit all open applications.

    It is recommended that you temporarily turn off any virus detection software that you might have running (see note below regarding Norton AntiVirus).

  2. Insert the Visual FoxPro CD.

    The Visual FoxPro 8.0 Setup start page appears automatically.

  3. Click Install Visual FoxPro to launch Visual FoxPro Setup.

    If the Visual FoxPro 8.0 Setup start page does not automatically appear, you should run the VfpStart.hta file as follows:

    1. On the Windows Start menu, click Run.

    2. In the Run dialog box, type <CD Drive Letter>:\Vfpstart.hta in the Open text box, and click OK.

      For example, if drive D is your CD drive, type D:\Vfpstart.hta in the Open text box.

  4. To determine if you need additional components, click Prerequisites.

    Visual FoxPro Prerequisites displays any necessary components that need to be installed before Visual FoxPro.

  5. Click Install Now! to install any new components. If Visual FoxPro Prerequisites needs to only update components, click Update Now!.

    You might need to restart your computer.

  6. Click Done when finished.

    Visual FoxPro Setup reappears.

  7. Click Visual FoxPro to continue installation. After accepting the End User License Agreement and entering the Product Key and your name, click Continue.

    Note   Visual FoxPro cannot be installed on a mapped disk drive. You must install Visual FoxPro on a local hard disk drive. Do not attempt to use the Map Network Drive functionality in Setup.

  8. On the Options page, select the features you want to install and click Install Now! to continue.

  9. When finished, click Done to return to Visual FoxPro Setup. Click Exit to return to the Visual FoxPro 8.0 Setup start page.

If you uninstall Visual FoxPro 8.0 while Visual FoxPro 7.0 exists on your computer, certain shared registry keys used by Visual FoxPro 7.0 are removed. You must reinstall these critical shared registry keys.

If you run Visual FoxPro 7.0 from the Start menu, Visual FoxPro 7.0 Setup automatically reinstalls these keys. If you start Visual FoxPro 7.0 using other means, such as running the application executable directly, the setup program does not start automatically. You should use Add/Remove Programs in the Control Panel and the following steps to reinstall the registry keys manually:

To manually reinstall Visual FoxPro 7.0 registry keys

  1. On the Start menu, click Control Panel.

  2. Click Add/Remove Programs.

  3. Click Change/Remove for Microsoft Visual FoxPro 7.0.

  4. Click Visual FoxPro and Repair/Reinstall.

Possible Error with Norton AntiVirus

Users with Norton AntiVirus or other virus detection software installed and enabled might receive a warning dialog box after clicking one of the links on the Visual FoxPro 8.0 Setup page. The dialog box contains text similar to the following:

------------------------

Norton AntiVirus has detected a potential threat in the displayed Activity.

For your protection, Norton AntiVirus halted the script so you can choose an appropriate Action from the list below.

File:    CD-ROM Drive Letter>\vfpstart.hta

Object: Windows Script Host Shell Object

Action:   Run

Norton AntiVirus recommends that you prevent the script from running unless you know and trust the source of the script.

Action: Stop this script (recommended)

Choose "Stop this script" if you do not trust the script source or the current script activity.

----------------------

This occurs because Norton Antivirus has detected that a script is trying to run from the Visual FoxPro 8.0 startup page. To allow setup to complete, in the dialog box, select Allow the entire script once from the Action menu, and click OK. The setup page uses Windows Scripting to start the various setup programs. Norton AntiVirus captures scripting activity and warns the user of possible threats.

1.2.2. Installing Additional Applications

This release includes copies of the following additional software that you can install and use with Visual FoxPro:

To install InstallShield Express Limited Edition

  1. Insert the Visual FoxPro CD.

    The Visual FoxPro 8.0 Setup start page opens automatically.

  2. Click Install InstallShield Express.

    The InstallShield Express installation wizard opens.

  3. Follow the instructions in the installation wizard.

You can also locate the Setup.exe file for InstallShield Express in the InstallShield folder on the Visual FoxPro CD.

Note   Visual FoxPro 8.0 installs its redistributable merge modules in a location different from Visual FoxPro 7.0:

Visual FoxPro 7.0: \Program Files\Common Files\Microsoft Shared\Merge Modules\

Visual FoxPro 8.0: \Program Files\Common Files\Merge Modules\

The version of InstallShield Express included with Visual FoxPro 8.0 automatically uses the new Visual FoxPro 8.0 merge module location.

Note   When creating Visual FoxPro 8.0 redistributable custom application setup programs using InstallShield Express, you need to include the following merge modules in your custom setup program:

To install SOAP Toolkit 3.0 Samples

  1. Insert the Visual FoxPro CD.

    The Visual FoxPro 8.0 Setup start page opens automatically.

  2. Click Install SOAP Toolkit 3.0 Samples.

    The SOAP Toolkit 3.0 Samples Setup Wizard opens.

  3. Follow the instructions in the Setup Wizard.

You can also locate the Soapsdk.msi and Soapsamp.msi files for the SOAP Toolkit in the SOAPToolkit folder on the Visual FoxPro CD.

To install MSDE

  1. Insert the Visual FoxPro CD.

    The Visual FoxPro 8.0 Setup start page opens automatically.

  2. Click Install Microsoft SQL Server Desktop Engine (MSDE).

    This option installs MSDE without an installation wizard.

  3. Click Yes to verify that you want to install MSDE.

You can also locate the Setup.exe file for MSDE in the SQLMSDE folder on the Visual FoxPro CD.

Note   If you are installing MSDE from the Visual FoxPro 8.0 Setup start page, an error might occur. For more details about resolving possible errors with installing MSDE, see Section 3.7 in the SP3ReadMe.htm file in the SQLMSDE folder on the Visual FoxPro installation CD.

1.2.3. Instructions for Machines with a Previous Visual FoxPro 8.0 Beta Installation

If you are installing Visual FoxPro 8.0 on a computer that has an older Beta version of Visual FoxPro 8.0, you need to first uninstall that Beta release. You can uninstall the Beta version using Add or Remove Programs from the Windows Control Panel. In addition, you need to remove the Beta settings and data files. The following steps walk you through the process of uninstalling the Beta version and installing the released version of Visual FoxPro 8.0.

To uninstall Visual FoxPro 8.0 Beta

  1. On the Windows Start menu, point to Settings, and click Control Panel.

  2. Double-click Add or Remove Programs.

  3. Locate Microsoft Visual FoxPro 8.0 Professional, and click Change/Remove.

  4. In the Visual FoxPro Setup dialog box, click Visual FoxPro.

  5. In the Visual FoxPro 8.0 Maintenance dialog box, click Uninstall Microsoft Visual FoxPro 8.0 Professional.

To install the released version of Visual FoxPro 8.0

To remove Beta settings and files

  1. Remove old Toolbox and Task Pane files.

    These files are automatically created using the latest Visual FoxPro 8.0 format and settings. To remove these files, you need to delete the contents of your Application Data directory. You can determine the location of this directory using the HOME(7) function by typing the following line in the Visual FoxPro Command window:

    ? HOME(7)
  2. Run VFPClean.app to make sure that all core Xbase and other files are set appropriately. To run VFPClean.app, type the following line in the Visual FoxPro Command window:
    DO HOME()+"VFPCLEAN.APP"
  3. To update your IntelliSense tables, perform the following steps:
    1. On the Tools menu in Visual FoxPro, click IntelliSense Manager.

    2. In the IntelliSense Manager dialog box, click the Advanced tab.

    3. Click Clean Up.

    4. In the Maintenance dialog box, click Restore FoxCode
  4. It is also recommended that you delete your FoxUser.* resource files.

    These files are stored in your Application Data directory, which you can locate by typing ? HOME(7) in the Command window. However, it is possible that your resource files are in another location. You can determine their location by typing the following in the Command window:

    ? SYS(2005) 
  5. Delete old Code Reference files that might be associated with projects in the project directories. These are labeled as follows:

    projectname_ref.*

  6. In addition, you might need to restore the default Visual FoxPro 8.0 registry settings. To restore the default settings, delete the following registry key using the RegEdit program and restart Visual FoxPro:

    HKEY_CURRENT_USER\Software\Microsoft\VisualFoxPro\8.0\


 

2. Known Issues

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

2.1. Altered Functionality

The following items involve product behavior changes that might affect the way your applications appear or behave. Make sure to also read the "Behavior Changes Since Visual FoxPro 7.0" Help topic.

2.2. Documentation Issues

In general, documentation for new and enhanced language features, including complete syntax, should be available in the "What's New in Visual FoxPro" section of the Help file. However, recent updates, sample code, remarks, related links, and so on might be missing from some of the topics. For a complete list of all new features, please refer to the "What's New in Visual FoxPro 8.0" topic.

This section contains information not included in the Help file:

2.3. Feature Issues

This section describes the most recent information about features included in this release of Visual FoxPro.