How to access to a Visual FoxPro database (.DBC file)
| From: | Tomás Corrales Lemoine | Date: | Wed, 05 Apr 2017 15:51:03 +0000 |
| Subject: | How to access to a Visual FoxPro database (.DBC file) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-326056@lists.php.net to get a copy of this message | ||
Hi, friends.
Im 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 cant find a specified provider,
Whats wrong here?
Thanks anyway, and please, answer to my e-mail account.