How to access to a Visual FoxPro database (.DBC file)

[email protected] (Tomás Corrales Lemoine)
Newsgroups php.general
Organization CubaCatering, S.A. UEB Holguín
Message-ID <[email protected]>
Hi, friends.

 

I’m trying to access a Visual FoxPro database (.DBC file) with a 64 bits
version of PHP 5.6.25, using PhpStorm 8.0.2 in Windows 7 Ultimate x64 this
way:

 

$dbc = new COM("ADODB.Connection") or die ("Connection create fail");
$dbc->Open("Provider=VFPOLEDB.1;Data
Source=\\\\mynetworkpc\\vfpfolder\\vfpdb.dbc;Password=***;Collating
Sequence=MACHINE");

 

But it triggers a com exception saying that can’t find a specified provider,
What’s wrong here?

 

Thanks anyway, and please, answer to my e-mail account.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.