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.
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.