Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Driver does not support this function in XP 1

Status
Not open for further replies.

bobbarker

Programmer
Dec 20, 2001
83
GB
Have a VB6 app which uses an ADODB connection.
Works fine in 98 and 2000. In XP I get "[Microsoft][ODBC Driver Manager] Driver does not support this function"
Have updated mDAC on my development machine (2000) to 2.7 and also ensured MDAC 2.7 is installed on the XP test machine.
My connection string (if its of any help?) is :
"Provider=MSDASQL.1;Extended Properties=DSN=Visual FoxPro Database;SourceDB=" & strFilePath & ";SourceType=DBF;Exclusive=No"
Any ideas?
Yours in hope.
 

What version of the OdFox32.dll do you have on the machine? [/b][/i][/u]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
 
Thansk for your response cclint.
I have version 4.0.6019.0 21KB dated 4th May 2001.
 
Also, why are you not using the OLEDB provider?

Conn.Provider ="Provider=VFPOLEDB.1"
Conn.Open "C:\Data\FoxPro7\xyz.dbc" [/b][/i][/u]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
 
Tried to use VFPOLEDB but I get "Provider cannot be found. It may not be properly installed."
I do not appear to have it installed. Having had a look around it appears that VFPOLEDB.dll is only available with Vis Fox 7 onwards or downloadable from MSDN as part of Vis Fox v8 Beta - which I have started to download.
In addition, have checked odfox32.dll on the XP machine and it is v4.0.5303.1 - ealier than mine. I attempted to copy my version over it and register using regsvr32 command but the version still reads on the XP as 4.0.5303.1.
What is my way forward? Should I be able to use odfox32.dll on XP? If so, any ideas on what else I can try? Or should I wait until my download of Vis Fox 8 has finished?
Thanks.
 
Now have vfpoledb and my app now works on XP. Thanks.
 

Thanks for responding back. Good for others who have the same problem and see this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top