Group:  Microsoft Word ยป microsoft.public.word.vba.addins
Thread: Access COM add-in

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Access COM add-in
"Bob Eaton" <pete_dembrowski[ at ]hotmail.com> 15.07.2006 09:57:11
When the user opens Access, my COM Add-in (created with VS.Net 2005) gets
the IDTExtensibility2.OnConnection and eventually the OnStartupComplete
calls.

According to the tutorial I followed to create it, the latter function is
where I should add my toolbar menus and buttons.

However, if Access is opened without a database opened, then it doesn't
allow menus to be added. If I try, I get the error message: "You must have a
database open to create custom toolbars"

But then when I finally open a database, the IDTExtensibility2 interface
doesn't seem to be called again...

So is there a way I can get my COM add-in to be called once a document is
opened (and each time a new database is opened thereafter)?

Like... is there a way to request a "database opened" event?

Thanks,
Bob


Re: Access COM add-in
Cindy M -WordMVP- <C.Meister-C[ at ]hispeed.ch> 15.07.2006 16:29:27
Hi Bob,

[Quoted Text]
> When the user opens Access, my COM Add-in (created with VS.Net 2005) gets
> the IDTExtensibility2.OnConnection and eventually the OnStartupComplete
> calls.
>
Again, this is WORD.VBA.Addins. Try in an Access forum or
office.developer.addins :-)

Cindy Meister

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net