Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old October 28th, 2003, 05:18 PM
Knappe Knappe is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 38 Knappe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
One more with problems with vb6.0 and access 2000

Hello!
I know this problem has been talked about here earlier but I'm still not getting any data from a Access 2000 database. I use Microsoft.Jet.OLEDB.4.0 and I have downloaded SP5 and MDAC 2.8.

The program uses data stored in a Access database. The database was given to me on a floppy and I don't know which version of Access it was made with. As long I use the orginal database everything works fine, but when I add something to the database using Access 2000, the program won't work. I have tried to convert the file to a prior version with Access but it still doesn't help.

Could someone please tell me what to do? What references do I need and so on...

Thanks!

Reply With Quote
  #2  
Old October 28th, 2003, 08:59 PM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via MSN to cleverpig
Can u tell us about your database table??What's the difference between the orginal Db and the db in the floppy??Maybe the db in the floppy is accessXP??...

Reply With Quote
  #3  
Old October 28th, 2003, 09:51 PM
Fisherman's Avatar
Fisherman Fisherman is offline
Inherits Programmer.Slacker
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Aug 2003
Location: Between my Id and your Ego
Posts: 2,171 Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 9 h 1 m 37 sec
Reputation Power: 110
Send a message via ICQ to Fisherman Send a message via AIM to Fisherman
A question.. I have had problems with Access Databases in the past... sometimes when I copy them to a new location, the permissions don't follow them. Have you made sure that the permissions on your Access DB are set so that everyone can execute against it?
__________________
Fisherman

"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." - A.Einstein

Reply With Quote
  #4  
Old October 29th, 2003, 12:50 AM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via MSN to cleverpig
Fisherman,when U copy a ms access file to another directory,the copy operation can't be allowed by operation system??Waht's the message by OS providered??

Reply With Quote
  #5  
Old October 29th, 2003, 05:16 AM
Unkie Unkie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 32 Unkie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 28 m 27 sec
Reputation Power: 5
microsoft jet 3.51 works a lot better for access 2000 mdb files, you could try selecting that as a driver... it worked for me tho...
(original mdb as win3.11 stuff, edited with access 2k, then used jet 3.51 instead of 4.0 and it worked)

Reply With Quote
  #6  
Old October 29th, 2003, 07:56 AM
Fisherman's Avatar
Fisherman Fisherman is offline
Inherits Programmer.Slacker
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Aug 2003
Location: Between my Id and your Ego
Posts: 2,171 Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level)Fisherman User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 9 h 1 m 37 sec
Reputation Power: 110
Send a message via ICQ to Fisherman Send a message via AIM to Fisherman
No CP, there's no problem inherent in transferring the file. I've just had problems in the past where I've copied the file to a new location, and the copied file no longer has the necessary permissions to execute against it, though the original does.

Reply With Quote
  #7  
Old October 29th, 2003, 03:31 PM
Knappe Knappe is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 38 Knappe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
I checked and the orginal db I have on the floppy is made with accessXP. When I open the db with access2000 and make some changes to it, my program won't work. But if I just copy the db from the floppy to my hard drive the program works fine.

I also tried it with my other computer and accessXP, and the same thing. I think it's weird that a db made with accessXP won't open after I changed it with accessXP.

Any ideas what's going on?

Reply With Quote
  #8  
Old October 29th, 2003, 04:28 PM
Knappe Knappe is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 38 Knappe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Unkie,
I also tried changing to jet 3.51 and it didn't help => unrecognized format

Any ideas anyone?

Reply With Quote
  #9  
Old October 29th, 2003, 06:55 PM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via MSN to cleverpig
Knappe,if u will modify the db file on the floppy when the floppy is protected from writen,it won't work correctly..U should check the floppy..

Reply With Quote
  #10  
Old October 30th, 2003, 10:00 AM
Knappe Knappe is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 38 Knappe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
I have copied the db to my hard drive and I'm using it from there. I haven't done any changes to the db on the floppy, only to the db on my hard drive.

Reply With Quote
  #11  
Old November 6th, 2003, 07:04 PM
Knappe Knappe is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 38 Knappe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Upgraded to Access XP and still not working

I upgraded my Access from 2000 to XP and it is still not working. Once again: Everything works fine if I just copy the db from the floppy to my hard drive. But if I try to add something to the db the program won't work after that. The db I'm using is made with Access XP.

Could someone please tell me in detail what to do? Which preferences do I need and do I have to change some settings in Access...?

If my friend who gives me the latest databases changes something in the db and gives it to me everything works fine. He uses Access XP. Anyone got any ideas?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > One more with problems with vb6.0 and access 2000


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway