Solved

Save an Access Database with a different Ext.

Posted on 1998-05-30
8
161 Views
Last Modified: 2010-05-03
I tried saving an Access 7.0 database as, "database.chi".  The reason for this is because I will be putting ".chi" is associated with my application and can be pulled in, by clicking on this data file.   The SAVE went fine, but when I tried loading this file I recieved errors.   What must I do or can this even be done?   This can be done if I use dBase or Foxpro, but why not Access?
0
Comment
Question by:Chizl
[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
  • 2
8 Comments
 
LVL 4

Accepted Solution

by:
zsi earned 50 total points
ID: 1462122
Are you loading the file into Access or VB?  It souldn't matter either way as long as you specify the name of that database along with the file extension.  Is it possible that there is another problem with the file?

zsi
0
 
LVL 4

Author Comment

by:Chizl
ID: 1462123
I have VB Enterprise and I'm using Visual Data to create the database.   I have Office97 and within is Access7. I Saved the database with extention without problems.   I then try to open it with the Data1 OCX and it errors.  I'm a 4 year VB developer and was just playing around Ext Assocation when I notices I couldn't save as a different extention.
0
 
LVL 4

Author Comment

by:Chizl
ID: 1462124
I have VB Enterprise and I'm using Visual Data to create the database.   I have Office97 and within is Access7. I Saved the database with extention without problems.   I then try to open it with the Data1 OCX and it errors.  I'm a 4 year VB developer and was just playing around Ext Assocation when I notices I couldn't save as a different extention.
0
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!

 
LVL 4

Author Comment

by:Chizl
ID: 1462125
Damn,  I clicked reject and this server put in, who the hell knows..   I'm points are all screwed up too.   This has been going on for about 2 months for me..
0
 
LVL 4

Author Comment

by:Chizl
ID: 1462126
Since you have the points can you or anyone else please continue helping.
0
 
LVL 4

Expert Comment

by:zsi
ID: 1462127
That *did* seem kind of strange that you accepted that answer.  I guess I am now duty bound to help you through this.  :)

Well, let's start with the obvious.  Are you using the full database name (with extension) when you open the file?  Are you opening the database explicitly through code or from the property sheet?  Oh, and are you using VB4 or 5?

In VB5 Enterprise, I linked the data control to the Biblio database file whose extension I had renamed to .MDQ.  It worked fine.

Ah, wait a minute.  What version of the Microsoft DAO library are you using?  You can determine this by looking at the References dialog.  

What is the axact error messgae that you are getting?
0
 
LVL 4

Author Comment

by:Chizl
ID: 1462128
I have an idea of the problem.  I'm using VB5 Enterprise and this is an example I was putting together for another question asked at experts-exchange.   I'm using the data1 component to access the data.   The problem, that I think it may be, is that the database has a Memo field in it.  Whatcha think?
0
 
LVL 4

Author Comment

by:Chizl
ID: 1462129
OK, I feel stupid..  Fix has been found.  I just put in a new brain and needs time to adjust.  I was saving the database as Chizl.chi, but it was saving it as Chizl.chi.mdb.   I never really looked at the database after it was saved.  Hate when that happens..
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
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
Course of the Month4 days, 15 hours left to enroll

635 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