
Convert custom Addin from Access 97 to 2000
I use custom addins alot and now that I have upgraded from Access 97 to
2000, they don't work. Evidently I need different code.
In Access 97 I put the following data in the usysReginfo table:
Subkey Type ValName Value
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\8.0\Access\Menu
Add-Ins\nwisTblFldBldr 0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\8.0\Access\Menu
Add-Ins\nwisTblFldBldr 1 Expression =StartTblFldBldrAddIn()
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\8.0\Access\Menu
Add-Ins\nwisTblFldBldr 1 Library |accdir\nwisTableFieldBldr.mda
and then in the application that would call it I would use this line of
code:
Quote:
>>nwisTblFldBldr.basGen.StartTblFldBldrAddIn
where nwisTblFldBldr is a referenced lybrary mda and basGen is a module in
that mda.
now when I compile the app that is trying to call the Addin, I get a
complile error on this line:
Quote:
>>nwisTblFldBldr.basGen.StartTblFldBldrAddIn
and it says 'variable not defined (talking about "nwisTblFldBldr")
Whats the new way of working with addins?
Thanks.
--
George Padvorac
nwis.net