Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Creating VB6 Frond end with Access 2000 Back End database

Posted on 2002-04-18
6
Medium Priority
?
174 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

722 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