Full Version: Requested Type Library Or Wizard Is Not A Vba Project Error In Runtime
UtterAccess Discussion Forums > Microsoft® Access > Access Runtime, Packaging & Deployment
katy7
I am developing application in Access 2010. However, although it works fine as an ACCDB file, when I create and run an ACCDR I get an error "Requested type library of wizard is not a VBA project".

The error message arises when switching to any tab from in the Main Navigation control that is opened when the app first runs.

The ACCDR and ACCDB versions access the same back-end data file, which is in the same directory as they are. They are both being run on the same PC.

Thanx in advance

Katy
MiltonPurdy
This may not help, but go into VBA, go to Tools/references and see if anything says "missing."
katy7
I've already done that. Nothing is missing.
I've also decomple database.
I've searched in google for any possible answer, but with no luck!!!
I think that the problem is the navigation control, but I can't figure out where...

MiltonPurdy
You DO know that accdr will only lauch in runtime?
katy7
Of course !!!
I've created a shortcut with the /runtime command
dwlandry
I'm having the same problem. Any resolution on this problem?
DaveMarvin
Hi all:

If anyone is coming here because they, too, encountered this "error" in their ACCDE when moving between primary tabs on a two-tier navigation form, this answer resolved the problem for me: (http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_26438281.html#a35743544).

In short, create an OnError event for the main navigation form:

CODE
Private Sub Form_Error(DataErr As Integer, Response As Integer)
   '//This addresses the annoying "Requested type library or wizard is not a VBA project" error.
   If DataErr = -25357 Then
      Response = acDataErrContinue
   End If
End Sub


Really, Microsoft, if you can't fix this problem, can't you at least publish the workaround?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.