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.
This section contains system requirements and installation information.
Visual FoxPro has the following minimum system requirements:
Note You must install Visual FoxPro on a local hard drive, not a mapped drive.
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.
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
It is recommended that you temporarily turn off any virus detection software that you might have running (see note below regarding Norton AntiVirus).
The Visual FoxPro 8.0 Setup start page appears automatically.
If the Visual FoxPro 8.0 Setup start page does not automatically appear, you should run the VfpStart.hta file as follows:
For example, if drive D is your CD drive, type D:\Vfpstart.hta in the Open text box.
Visual FoxPro Prerequisites displays any necessary components that need to be installed before Visual FoxPro.
You might need to restart your computer.
Visual FoxPro Setup reappears.
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.
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
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.
This release includes copies of the following additional software that you can install and use with Visual FoxPro:
Provides the capability to package and deploy the applications that you create using Visual FoxPro. The new Visual FoxPro Limited Edition version of InstallShield Express 3.54 included with this release is an updated version from the one that shipped with Visual FoxPro 7.0. This updated version of InstallShield Express includes the following new features:
Creates new product versions that automatically uninstall the previous version (must be MSI-based) and install the new one.
Conditionally installs the project or individual files based on the presence of this operating system.
Provides the ability to add additional directories to the search path used to populate the Merge Module view.
WI 2.0 is used by default, with an option to revert to WI 1.2 engines.
Installation detects existing versions of InstallShield Express and displays a warning message about overwrite during installation.
Specifies that a dialog box containing a check box for launching an .exe file is included at the end of an installation.
Note The limited and full editions of InstallShield Express 3.54 are considered two versions of the same product and cannot coexist. If you install one version on a computer where another already exists, the original is uninstalled automatically. Because the limited edition contains fewer features than the full edition, you should keep the full edition on your computer.
Provides a link for installing additional samples for using the SOAP Toolkit 3.0. The Visual FoxPro Prerequisites setup stage installs the core SOAP Toolkit 3.0 components needed to consume and publish XML Web services in Visual FoxPro.
Provides a personal version of SQL Server. Visual FoxPro 8.0 includes Microsoft SQL Server 2000 Desktop Engine Service Pack 3.0. To make sure you have the latest version and Service Pack installed, please visit the Microsoft SQL Server Web page at http://www.microsoft.com/sql/default.asp.
To install InstallShield Express Limited Edition
The Visual FoxPro 8.0 Setup start page opens automatically.
The InstallShield Express installation wizard opens.
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
The Visual FoxPro 8.0 Setup start page opens automatically.
The SOAP Toolkit 3.0 Samples Setup Wizard opens.
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
The Visual FoxPro 8.0 Setup start page opens automatically.
This option installs MSDE without an installation wizard.
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
To install the released version of Visual FoxPro 8.0
To remove Beta settings and 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)
DO HOME()+"VFPCLEAN.APP"
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)
projectname_ref.*
HKEY_CURRENT_USER\Software\Microsoft\VisualFoxPro\8.0\
This section lists known issues in this release of Visual FoxPro.
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.
If you install Visual FoxPro 8.0 on a computer with Visual FoxPro 7.0 already installed, ActiveDocs will no longer work. The Visual FoxPro 8.0 installation process overwrites registry keys for .app files. To enable ActiveDoc support on a computer with both Visual FoxPro 7.0 and Visual FoxPro 8.0, you need to update the registry to reestablish the .app ActiveDoc association with the Shell Run registry command. This can be done by creating and running a .reg file with following contents (make sure the VFP7run.exe path matches that of your computer). For example:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Visual.FoxPro.Application.8\shell\run]
@="&Run (VFP7 ActiveDoc)"
[HKEY_CLASSES_ROOT\Visual.FoxPro.Application.8\shell\run\command]
@="C:\\Program Files\\Common Files\\Microsoft Shared\\VFP\\vfp7run.exe \"%1\""
Note Run-time redistributable Visual FoxPro 7.0 applications hosting ActiveDocs still function fine even after installing a Visual FoxPro 8.0 run-time application.
The source code for FoxCode.prg, which is part of the IntelliSense Manager application, FoxCode.app, exists in the XSource.zip file located in the ...\Program Files\Microsoft Visual FoxPro 8\Tools\XSource folder.
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:
This section describes the most recent information about features included in this release of Visual FoxPro.
To locate the correct Solution sample topic, in the Help file, click the Contents tab. Click Microsoft Visual FoxPro, then Samples and Walkthroughs. Click Samples, then Solutions Samples.
SELECT * from dbo."Order Details"
. The remote view fails to load properly the next time you attempt to open it in the designer. To avoid this problem, remove the owner name from the SELECT statement, for example, SELECT * from "Order Details"
.InstallShield Express: ...\Program Files\InstallShield\Express\Modules\i386\
Visual FoxPro 8.0: ...\Program Files\Common Files\Merge Modules\
Note With the version of InstallShield Express that ships with Visual FoxPro 8.0, if the same merge module file exists in both locations, the file in the InstallShield Express merge module location is always displayed and used. Because some of the merge modules in the Visual FoxPro location are more recent, it is recommended that you copy the VFPOLEDB.msm, MSXML3.msm, and MSXML4.msm files to the InstallShield Express merge module folder location.
After first installing Visual FoxPro, you can install MSXML3.msm using the following instructions:
...\Program Files\Common Files\Merge Modules\
...\Program Files\InstallShield\Express\Modules\i386\
Note If you are running InstallShield Express or a different Windows Installer-based installation tool, you might need to quit and restart the tool so that the MSXML3.msm merge module appears in the list of available merge modules that you can include with your custom application.
SCREEN=ON
statement inside a Config.fpw file embedded in your DLL.