Connecting Tech Pros Worldwide Help | Site Map

Access Has Broken - Help please

john@world.com
Guest
 
Posts: n/a
#1: Nov 13 '05
Access 2003 on my PC has stopped working. This is the help message I
get

************************
Object library not registered
The Visual Basic for Applications object library is no longer a
standalone file; it is integrated into the dynamic-link library (DLL).

In earlier versions, when you started an application that uses Visual
Basic for Applications, certain object libraries were loaded. This
error has the following cause and solution:

An attempt was made to load a previous version of the Visual Basic for
Applications object library (vaxxx.olb) or host-application object
libraries. However, the correct language version of these object
libraries could not be found in the system registry.
Reregister your application. On the Macintosh, delete the vba.ini file
from the Macintosh Preferences folder, and restart your application.
******************

How do I "Reregister your application". I have tried re installing
Access and VBA but that does not work.. The data base work OK on
another PC running Access 2003.

Some VBA code I use in Excel seems to work OK

Any thoughts would be apppreciated.

John

Allen Browne
Guest
 
Posts: n/a
#2: Nov 13 '05

re: Access Has Broken - Help please


The VBA library that Access 2003 uses is named:
VBE6.DLL

It is typically found in:
C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\

To re-register the library, open a Windows command prompt, and enter:
regsvr32 "c:\program files\common files\microsoft
shared\VBA\VBA6\VBE6.DLL"
or whatever is the correct path to the file.

For further info on the crucial references for each version of Access, see:
http://allenbrowne.com/ser-38.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

<john@world.com> wrote in message
news:dqqqf11imdltp477ug1pmkcnkftpkco7ab@4ax.com...[color=blue]
> Access 2003 on my PC has stopped working. This is the help message I
> get
>
> ************************
> Object library not registered
> The Visual Basic for Applications object library is no longer a
> standalone file; it is integrated into the dynamic-link library (DLL).
>
> In earlier versions, when you started an application that uses Visual
> Basic for Applications, certain object libraries were loaded. This
> error has the following cause and solution:
>
> An attempt was made to load a previous version of the Visual Basic for
> Applications object library (vaxxx.olb) or host-application object
> libraries. However, the correct language version of these object
> libraries could not be found in the system registry.
> Reregister your application. On the Macintosh, delete the vba.ini file
> from the Macintosh Preferences folder, and restart your application.
> ******************
>
> How do I "Reregister your application". I have tried re installing
> Access and VBA but that does not work.. The data base work OK on
> another PC running Access 2003.
>
> Some VBA code I use in Excel seems to work OK
>
> Any thoughts would be apppreciated.
>
> John[/color]


john@world.com
Guest
 
Posts: n/a
#3: Nov 13 '05

re: Access Has Broken - Help please


On Sat, 13 Aug 2005 12:11:40 +0800, "Allen Browne"
<AllenBrowne@SeeSig.Invalid> wrote:
[color=blue]
>The VBA library that Access 2003 uses is named:
> VBE6.DLL
>
>It is typically found in:
> C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\
>
>To re-register the library, open a Windows command prompt, and enter:
> regsvr32 "c:\program files\common files\microsoft
>shared\VBA\VBA6\VBE6.DLL"
>or whatever is the correct path to the file.
>
>For further info on the crucial references for each version of Access, see:
> http://allenbrowne.com/ser-38.html[/color]

Thanks for the advice. It seems more complex than that as this did
not work. File registered OK but still same error. I will keep trying

John
Closed Thread