Sample for DDEX Provider for Visual FoxPro ========================================== This package contains Visual Basic sample code for a Visual Studio 2005 DDEX Provider for Visual FoxPro. Contents -------- The installation folder contains the compiled assmeblies and a registration program along with the sample source code (in the Source folder). Source code includes source for the three DDEX Provider assmeblies as well as the registration utility, RegDDEX. RegDDEX.EXE Microsoft.Data.FoxClient.dll Microsoft.Data.FoxClient.Design.dll [1033]\ Microsoft.Data.FoxClient.DesignUI.dll [Source] Registration ------------ The RegDDEX program is a command-line utility that registers the VFP Provider with Visual Studio 2005. VS2005 must be installed before the DDEX provider can be registered. Also you must have administrative privilages. 1. Start the Command Prompt window as an Administrator 2. Navigate to the installation folder 3. Run RegDDEX Unregistration -------------- 1. Start the Command Prompt window as an Administrator 2. Navigate to the installation folder 3. Run RegDDEX /u To connect to a VFP data source from VS2005 ------------------------------------------- 1. Open Visual Studio 2005. 2. From the 'View' menu select 'Server Explorer' to open the Server Explorer tool window. 3. Right click on the 'Data Connections' node and select the 'Add Connection...' command 4. If the 'Add Connection' dialog is displayed, click the 'Change...' button 5. From the list of data sources displayed in the Change Data Source dialog, select Visual FoxPro and click OK. The Add Connection dialog for VFP will be displayed. 6. Type or browse to the VFP data file and click OK to connect to the data file.