473,394 Members | 1,481 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

database connectivity

lee123
556 512MB
i have made a databse in access 2000 and when i try to use the data control and try to connect it tells me that "unreconized database format" why does it say this i thought you could connect to any database in access even the ones you have already built the vb im using is vb6 in my database i have made it a replicated one could this be a problem or you just have to make your own database through vb6 and not in access.....

lee123
Aug 11 '07 #1
10 1737
fplesco
82
i have made a databse in access 2000 and when i try to use the data control and try to connect it tells me that "unreconized database format" why does it say this i thought you could connect to any database in access even the ones you have already built the vb im using is vb6 in my database i have made it a replicated one could this be a problem or you just have to make your own database through vb6 and not in access.....

lee123
Hi Lee -

How did you bind your Access dbase with the data control? Can you tell me?
Or if possible, can you put part of the code here?

FYI. I also got that error before and it seemed to me that that I have used the wrong object in connecting with my database. second, I have used the wrong Driver for my database.

You may check if you have used the Jet.4.0 something driver of the Access database, not the Jet.3.5.
Aug 14 '07 #2
lee123
556 512MB
well i tried to use the data control but it wouldn't do anythig and thats when i got that message then i also tried the ado data control and that clearly didn't work. i have looked at the questions they have here on the scripted and found one by a yoda person but i didn't understand what they did about the data control are you suppose to put somekind of code behind it and if so how.... if you could tell me the basic way i probably can figure out the rest any way i have built this database in access 2000 and i used it at my job but this seemed to be a cooler way to go i guess i don't know if you can help me figure out this i would appriciate it...

lee123
Aug 14 '07 #3
pureenhanoi
175 100+
i have made a databse in access 2000 and when i try to use the data control and try to connect it tells me that "unreconized database format" why does it say this i thought you could connect to any database in access even the ones you have already built the vb im using is vb6 in my database i have made it a replicated one could this be a problem or you just have to make your own database through vb6 and not in access.....

lee123
Some old version of Data Control cannot work with Access2000 format. You must use Data Conversion Ultility in Ms-Access to convert your database into Access 97 format before bind the data to DataControl
Aug 15 '07 #4
lee123
556 512MB
well i tried to format the database to access 97 but when it asked me to format as i put access 97 but it said couldn't format this database there was an error mayby i didn't do it right because i went to th help file and see how you format it back to 97 and i did just what it said to do and still i got the same message

lee123
Aug 15 '07 #5
Dont know if this could be the answer but I had a problem very similar and I discovered that my version of VB6 required service pack 1 before it would utilise databases properly.
I only discovered this as a program written at work was fine but the same program at home had the problem and by comparing both setups found that work had been serviced packed and mine hadn't

Just a thought which could be totally wrong but worth a look

Hope it helps Rob
Aug 15 '07 #6
pureenhanoi
175 100+
Dont know if this could be the answer but I had a problem very similar and I discovered that my version of VB6 required service pack 1 before it would utilise databases properly.
I only discovered this as a program written at work was fine but the same program at home had the problem and by comparing both setups found that work had been serviced packed and mine hadn't

Just a thought which could be totally wrong but worth a look

Hope it helps Rob
I rerally use Data Control, so i dont know can Service Pack 1 update DataControl to newer version. If you have the SP1, you can try updating.
Converting database to Access 97 file format cause the database un-editable (i dont know why - i've do like this before in Office Xp and it works fine, but now i'm using office 2003, and it make database un-editable). Ofcourse, you cant edit the database's object (like table, form, report ...) but still can insert, update and delete the data. Thats enought.
Aug 16 '07 #7
lee123
556 512MB
well my question is how do you format the access 2000 database to a access 97 ive tried but when it takes me to a page that says: convert in to what? what is it i put for the file name the database name or "access 97"
lee123
Aug 17 '07 #8
pureenhanoi
175 100+
well my question is how do you format the access 2000 database to a access 97 ive tried but when it takes me to a page that says: convert in to what? what is it i put for the file name the database name or "access 97"
lee123
Open MS-Access , from main menu, choose Tools > Database Ultilities > Conver Database > To Access 97 file format.
On the dialoge, browse to the access file in 200 file format and click Select.
On the dialoge Conver database to, type the name for the new file (which will be in 97file format), and click Save. If you Save new database in the same folder with old database, use the diffent name from the old database.
Access will show a dialoge that caution: Some Function of database will be lost. Click Ok. Now, you have the datafile in Access 97 file format.
Aug 18 '07 #9
lee123
556 512MB
well mine doesn't say convert to access 97 it just says convert to previous database. do you think that it the office software i'm using because i'm using microsoft office 2000 premium i bought the office 2000 developers tool kit
but i do have a office 2000 regular disk should i change softwares?

lee123
Aug 18 '07 #10
pureenhanoi
175 100+
well mine doesn't say convert to access 97 it just says convert to previous database. do you think that it the office software i'm using because i'm using microsoft office 2000 premium i bought the office 2000 developers tool kit
but i do have a office 2000 regular disk should i change softwares?

lee123
I'm using Office 2003, and it say exactly: "To Access 97 file format". Dont mind about this. Previous file format of Access200 is Access97 file format. You may should read the help content to find out the best way of converting.
After all of this complexibility problem, wouldnt you give up using Data Control?
There are many ways of using database without Data Control. You cant try them and compare the complexible.
Aug 20 '07 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Alex | last post by:
I have developed a VB application that uses Oracle 8i database for backend. The database server is on the local network. From my development machine, the application connects (via ODBC) to the...
1
by: harish | last post by:
I am using java applications to connect to my MS SQL Server database. I am using ODBC for database connectivity. If i am running my java applications in a remote PC and try to connect to database...
3
by: junaid | last post by:
Hi to all, Can it is possible to connect to the databse like postgre or mysql through a C programm? I know the basics of C and I have developed a small program which uses a file for the...
3
by: Niks | last post by:
Hi, I need to connect to SQL server Database using a System DSN. Can anyone tell me how to connect to SQL Server using DSN in ASP.NET (VB.Net). Using a Try Catch block. Does anyone know how to...
8
by: David | last post by:
Hi, Could someone please xplain how to add a field to an existing SQL table in VB.Net I have added the field in the Server Explorer and it shows up when I reload the program but I cannot...
3
by: Martin B | last post by:
Hallo! I'm working with C# .NET 2.0, implementing Client/Server Applications which are connecting via Network to SQL-Server or Oracle Databases. To stay independent from the underlaying Database...
47
by: Ivan Weiss | last post by:
Hi all, I am just getting started on a new app and am a rusty VB6 guy who is looking to create something on the side to serve as a corporate workbench for my company. ADO.net is new to me so...
0
by: dalaimanoj | last post by:
I have a form with buttons 'View', 'Save', 'Delete', 'Edit' and some textboxes to input data.. On clicking each buttons the database is connected and the respective action is done. For example...
4
by: ykhamitkar | last post by:
Hi there, I am trying to create a web based dataentry application in java applet. When I create a standalone application using applet the database connectivity works fine. However when I use same...
0
Dököll
by: Dököll | last post by:
ASP.NET and SQL Server 2005 Database interaction includes: Language: ASP.NET Connectivity: SQL Server 2005 Foreword: This database connectivity is nothing of genius, it is a simple...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.