Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 185247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T15:26:11+00:00 2026-05-11T15:26:11+00:00

I am trying to pull data from DBF files into my program using C#.

  • 0

I am trying to pull data from DBF files into my program using C#. I am using the Visual FoxPro OLE DB Provider. It works fine on my local machine but I want to package up my program into dll that clients can use. The problem is when they run the program from their machine it says that the Visual FoxPro OLE DB Provider isn’t registered on their machine. Is there any way to use this without having the client install the Visual FoxPro OLE DB Provider on their machine?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T15:26:12+00:00Added an answer on May 11, 2026 at 3:26 pm

    The short answer is no…the long answer is:

    I don’t believe you can do that without installing the Visual FoxPro OLE DB Provider on each target machine. Even if you tried to use COM interop you would still have to install and register the original dll – vfpoledb.dll

    By far the easiest way to solve this issue is is to get the FoxPro OleDb Driver install package from Microsoft and distribute it to your users.

    If you are want to roll your own .MSI package for your library installation you can manually install and register the missing dll.

    To manually register a .DLL using regsvr32.exe in a .MSI package:

    First open your WSI project and go to the MSI Script.

    Add an ‘Execute Program from Destination’ custom action after InstallFinalize in the Execute Immediate tab.

    When the ‘Execute Program From Destination’ dialog appears enter:

    Custom Action Name: <registerdll> Working Directory: SystemFolder EXE and Command Line: Enter the full path to regsvr32.exe  and the full path to .DLL.  (usually ..\Program Files\Common Files\System\Ole DB\vfpoledb.dll) 

    If you add the /s switch to the command line like [SystemFolder]regsvr32.exe /s the registration of the dll should happen without user intervention.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 164k
  • Answers 164k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I agree with the previous poster. The naming should focus… May 12, 2026 at 12:19 pm
  • Editorial Team
    Editorial Team added an answer The short answer is yes but the amount of time… May 12, 2026 at 12:19 pm
  • Editorial Team
    Editorial Team added an answer A function like this will do it: public static bool… May 12, 2026 at 12:19 pm

Related Questions

I need to pull data from two tables: Neptune_FN_Analysis and Neptune_prem There will be
I am trying to pull some data from a server (I don't own the
I have a DataSet with a DataTable that correctly fills a single DataRow through
I'm currently trying to write a website for testing / learning purposes that will

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.