Microsoft KB Archive/248795

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:14, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Article ID: 248795

Article Last Modified on 4/22/2003


  • Microsoft Visual FoxPro 5.0 Standard Edition
  • Microsoft Visual FoxPro 5.0a
  • Microsoft Visual FoxPro 6.0 Professional Edition

This article was previously published under Q248795


When running the Setup Wizard, you select the option to distribute the ODBC Drivers as part of your application setup. However, the Setup Wizard does not include the latest Visual FoxPro ODBC Drivers that are installed in the System Folder. Instead, the Setup Wizard uses the Visual FoxPro ODBC Drivers that are installed in the HOME() + 'DISTRIB.SRC\SYSTEM' directory.


The recommended way to work around this behavior is to distribute Microsoft Data Access Components (MDAC) with your application.

One way to ensure that the user has the latest version of MDAC is to:

  1. Download the latest version of MDAC from the following Web site:Microsoft Universal Data Access Web Site

  1. Include the Mdac_typ.exe file in your distribution files.
  2. In Step 4 - Specify Setup Options/Post-setup executable of the Setup Wizard, specify the path to the Mdac_typ.exe file.


This behavior is by design.


Steps to Reproduce Behavior

  1. Start Visual FoxPro.
  2. From the Tools menu, point to Wizards, and then choose Setup to run the Setup Wizard.
  3. In Step 2 - Specify Components, make sure that you select the ODBC Drivers check box.
  4. Complete the remaining steps of the Setup Wizard.
  5. When the Setup Wizard finishes, click the Preview Report command button.
  6. Browse across the Report Preview and look for the file named Vfpodbc.dll.
  7. Compare the size of the Sqlsrv32.dll file in the Report Preview against the size of the file located in the Windows System Folder.

Additional query words: MDAC

Keywords: kbappsetup kbprb kbwizard kbclientserver kbfaq KB248795