To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
VBForums  

VB Wire News
Part 10 of the Visual Basic .NET 2010 Express Tutorial Complete!
How to Use the Visual Studio Code Analysis Tool FxCop
Article :: Interview with Andrei Alexandrescu (Part 3 of 3)
Introducing Visual Studio LightSwitch
Visual Studio LightSwitch Beta 1 is Available



Go Back   VBForums > Visual Basic > Database Development

Reply Post New Thread
 
Thread Tools Display Modes
Old Jun 4th, 2000, 03:49 PM   #1
hmcheung
Member
 
Join Date: Jun 00
Location: Hong Kong
Posts: 62
hmcheung is an unknown quantity at this point (<10)
Exclamation

Hi,

I used the following code and successfully connect to a FoxPro DBF.


Set dbMain = Workspaces(0).OpenDatabase _
("c:\temp", False, False, "FoxPro 3.0;")

Set rsMain = dbMain.OpenRecordset("Select * from dbfFox")

Set datCheckLink.Recordset = rsMain

all my dbf files are located in c:\temp, but when I open some dbfs other than dbfFox, some of them results in

Error 3166: Can't locate the requested Xbase memo file.

and some of them

Error 3623: Can't access the FoxPro 3.0 bound DBF file "c:\temp\xxx.dbf"

I'm using VB 6.0. and all the dbfs can be opened in foxpro 2.6. How come some of them can be viewed with my code while others gave me different errors? Thanks a lot.

Andy Cheung
__________________
Please Visit My WebCam!!
http://www.hmcheung.com
hmcheung is offline   Reply With Quote
Reply

Go Back   VBForums > Visual Basic > Database Development


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:22 AM.





Acceptable Use Policy

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.