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
MSDN Subscribers: Download the VS 2010 Release Candidate
MSDN Subscribers: Download the VS 2010 Release Candidate
Sell Your Code and Make Money?
Creating your own Tetris game using VB.NET
Article :: Improving Software Economics, Part 4 of 7: Top 10 Principles of Iterative Software Management



Go Back   VBForums > Visual Basic > Database Development

Reply Post New Thread
 
Thread Tools Search this Thread Display Modes
Old Jun 4th, 2000, 04: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 Search this Thread
Search this Thread:

Advanced Search
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 09:53 AM.




To view more projects, click here

Acceptable Use Policy


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.