Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual 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 ASP Free Forums Sponsor:
  #1  
Old September 20th, 2004, 09:30 AM
stevenoc stevenoc is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 11 stevenoc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Object library not registered

I am having a great deat of problems trying to run my VB6 project on another computer. The project runs fine on my XP desktop computer but I am having problems on my win98 laptop.

The error message says "Compile error: Object library not registered" and refers to the statement Dim myRS AS ADODB.Recordset. When I go to references it has checked "MISSING: Microsoft ActiveX Data Objects 2.0 Library". I uncheck it and recheck "Microsoft ActiveX Data Objects 2.0 Library" but it still doesn't want to work. The reference file is Msado20.tlb and seems to be in the correct location.

There is a "Microsoft ActiveX Data Objects 2.1 Library" option but this makes no difference.

Oh yeah, when I first open (load) the project I get this strange ok information message box that has the caption 'Data View' with message "Method '~' of object '~' failed".

Can anyone tell me how to fix this problem?


Thanks Steven

Reply With Quote
  #2  
Old September 20th, 2004, 11:44 AM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 21 h 32 m 23 sec
Reputation Power: 180
I'd install a newer version of ADO, 2.0 is very old and has some bugs. Then change your project to use the newer version of ADO. You can get the latest ADO at www.microsoft.com/data
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old September 21st, 2004, 02:26 AM
stevenoc stevenoc is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 11 stevenoc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
MS JET OLE DB Initialization Information

I downloaded the MDAC 2.5 service pack and that seemed to fix my problems Thanks

However I still have one niggling problem. Now when I open a form that is connected to my Access database I get a pop up form with the caption "Please Enter MS JET OLE DB Initialization Information". It has fields such as Data Source, User Name etc to enter. I have a choice of cancel or ok but it makes no difference. The project will still work anyway.

How would i get rid of this annoyance?


Thanks again
Steven

Reply With Quote
  #4  
Old September 21st, 2004, 11:15 AM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 21 h 32 m 23 sec
Reputation Power: 180
Hmm, haven't run across this message before. Is it possibly generated by your application code?

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Object library not registered


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 2 hosted by Hostway