Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...love the site and am constantly recommending it to (selected !) clients here in ireland..."

Geography

Where in the world do Tek-Tips members come from?
FancyPrairie (Programmer)
15 Jan 12 9:09
I have created an Access 2010 db that I want to use as an AddIn (wizard).  I have created the USysRegInfo table and populated it.  And it seems to install ok (I can see it in the registry).  USysRegInfo simply adds a menu item that, when selected, runs some code that opens a form.  However, when it is launched I receive the error "The wizard you've requested is not installed or is in a bad state."  I tried setting the wizard up to run a macro to open the form rather than running some code to do it.  This time when I launch it I get the message "Can't find the macro MacroName".  If I create a macro in my database with the same name as the one in my wizard database, the wizard will launch that one with no errors.

So, why is the wizard attempting to launch the macro in the current database rather than the macro that resides in the wizard database?

Here's the definition of USysRegInfo (3 records):

Record 1:

SubKey:  HKEY_CURRENT_ACCESS_PROFILE\Menu Add-Ins\My Wizard
Type:    0
ValName:
Value:

Record 2

SubKey:  HKEY_CURRENT_ACCESS_PROFILE\Menu Add-Ins\My Wizard
Type:    1
ValName: Expression
Value:   MacroName

Record 3

SubKey:  HKEY_CURRENT_ACCESS_PROFILE\Menu Add-Ins\My Wizard
Type:    1
ValName: Library
Value:   |ACCDIR\MyWizardDatabase.accda
 

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close