Reference Issues

T

tighe

All,

I am trying to use Ribbon call backs but currently an running into compile
error on IRibbonControl. I have seen that a i need a VB reference for
"Microsoft Office 12.0 Object Library" unfortunately when adding it i get the
error "Name Conflicts with exisitng module, project or library."

my current references are:
Visual Basic For Applications (cannot remove error dialog: "Can't remove
control or reference;in use")
Micorost Access 12.0 Object Library (cannot remove error dialog: "Can't
remove control or reference;in use")
the rest I can remove but when trying to add them back was unble to find a
few in the list:
OLE automation
Micorost Outlook 12.0 Object Library
Microsoft Internet Controls
Micorost word 12.0 Object Library
Adobe Acrobat 8.0 Browser Control Type Library 1.0
Adobe Acrobat 8.0 Type Library
Microsoft DAO 3.6 Object Library

does any one have advice on how i can change/remove/add what i need to get
this to compile?

I have to admit that i may not need all the references but there is a lot of
code in the DB and we are working with all these objects except for maybe OLE
automation. i do know all my code currently works with any internal/external
procedure run.

on a side note if i remove the reference in the call back "control as
IRibbonControl" i receive a runtime error that the data is not Boolean even
though I convert the data with CBool, the data type for that field is yes/no.

running 2007/XP.

thanks for all help past and future.
 
T

tighe

Apparently there was something wrong with the original database i started
over added all the needed references imported all objects and the code
compile fine.
 
T

tighe

I take it back i twas becasue i names and save a Module as "Office", renamed
and fixed.
 
T

Tony Toews [MVP]

tighe said:
I take it back i twas becasue i names and save a Module as "Office", renamed
and fixed.

Now isn't that interesting.

Thanks for posting back.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a free, convenient utility to keep your users FEs and other files
updated see http://www.autofeupdater.com/
Granite Fleet Manager http://www.granitefleet.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top