Working with Visual Fox Pro OleDb

I am trying to extract data from DBF files to my program using C #. I am using the OLE DB Visual FoxPro provider. It works fine on my local machine, but I want to pack my program in a dll that clients can use. The problem is that when they run the program from their computer, he says that the Visual FoxPro OLE DB provider is not registered on their computer. Is there a way to use this without the client installing the Visual FoxPro OLE DB provider on their machine?

+3
source share
2 answers

The short answer is no ... the long answer:

, OLE DB Visual FoxPro . COM-, dll - vfpoledb.dll

FoxPro OleDb Microsoft .

.MSI- , dll.

.DLL, regsvr32.exe .MSI:

WSI MSI Script.

" " InstallFinalize " ".

" ", :

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)

/s , [SystemFolder] regsvr32.exe/s, DLL .

+6

, 64- Vista. , Microsoft Jet OleDB FoxPro OleDB .Net 32- , 64- .

, , , , , .

+3

Source: https://habr.com/ru/post/1706504/


All Articles