[AccessD] Test for a Particular Reference in Code.

Greg Smith GregSmith at starband.net
Wed Aug 4 12:39:20 CDT 2004


Hi everybody!

I'm trying to distribute an app that I've modified and I'm running into
references issues at the client's site.  It's in Access97 (but not for
much longer).  I'm having to reference Microsoft Office 8.0 Object Library
(mso97.dll) and I have it update the reference through the code.  However,
if it already is referenced, then I get the error that you can't have a
reference with the same name, etc.

What I need to do is test to see if this reference already exists.  If it
does, then don't add it.  But I can't figure out how to test for it
specifically.  Is there a way to test for a particular reference (in this
case, the one for the MSOffice 8.0 Obj lib?

TIA!

Greg Smith
gregsmith at starband.net





More information about the AccessD mailing list