Solved

Creating VB6 Frond end with Access 2000 Back End database

Posted on 2002-04-18
6
173 Views
Last Modified: 2013-11-13
This question may require some more points, but I don't have enough points, being new to this group.

I am new to VB6 and am following "Teach Yourself Database
Programming with Visual Basic 6" to create a form to
retrieve data from A2k Database. The error message I
get is "Unrecognized Database format".  I also changed
the reference to MS Data Object 3.6 also, but could not
figure out the problem.

Per the book I am trying to create the following
Public Subs:
    OpenDB   (Opens the DB)
    BindControls (to bind the fields on form to db fields)

I'd really appreciate if someone send my a small sample
project or give me step-wise directions to fix this
problem.

TIA
sanand@dsd.co.pima.az.us



0
Comment
Question by:Payal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 5

Expert Comment

by:rkot2000
ID: 6951540
you need sp4 for vb6

for datacontrol you need to set connect to Access 2000;

for dao
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q238401

p.s. dao is dead end you should use ado.
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 6951542
Your Data Access THINKS you are using an Access 97 database.  How are you actually opening the database?  Show the code and then we can tell you what needs to be changed to use the Access 2000 dtabase.
0
 
LVL 1

Expert Comment

by:satj2000
ID: 6951983
Open your database with your access application, then go to database tools, change the database format to 97 database format. Then your stuff will work without problem,
Good Luck,
Ameen.
--------------------------------
Need cheap and reliable web hosting? Check out unlimitedhostingplans.com, sign up now and win a X-box!
0
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 6952156
satj2000....that seems a bit extreme.  If Payal simply uses the correct version of DAO in his/her references, then there should be no problem opeing an Access 2000 MDB from VB 6.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7660455
Hi Payal,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Save as PAQ -- No Refund.

Payal, Please DO NOT accept this comment as an answer.
EXPERTS: Post a comment if you are certain that an expert deserves credit.  Explain why.
==========
DanRollins -- EE database cleanup volunteer
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 7755293
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month9 days, 7 hours left to enroll

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question