Solved

Creating VB6 Frond end with Access 2000 Back End database

Posted on 2002-04-18
6
164 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
6 Comments
 
LVL 5

Expert Comment

by:rkot2000
Comment Utility
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
Comment Utility
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
Comment Utility
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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 44

Expert Comment

by:Arthur_Wood
Comment Utility
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
Comment Utility
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
Comment Utility
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now