|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
Hmm, haven't run across this message before. Is it possibly generated by your application code?
|
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Object library not registered |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|