Where is MS Forms 2.0 Object Library in OL2003 References?

J

John E.

I have a folder based applicaton solution running in OL2002 which has the MS
Forms 2.0 Object Library item checked in References. Not sure why, but
somewhere along during development I seem to remember that it had to be
checked....possibly because I am programmatically reading data from Excel
into custom OL forms.
My problem is that I am porting my OL2002 design over to OL2003 and
discovered that the MS Forms 2.0 Object Library is not listed in the OL2003
References. My application won't run without it. Can anyone advise me how
to get this into the OL2003 references or a workaround?
 
J

John E.

Ken,
Thanks for reply. I am not referencing the path to this library in any
script or VBA code in my custom forms...just want to check the check box for
it in References list so it is available when running the forms. Knowing
the path to it in System32 as a *.dll, is there some way I can get it listed
in References for that purpose?
 
H

Hollis Paul

Knowing
the path to it in System32 as a *.dll, is there some way I can get it listed
in References for that purpose?
A classic problem with References. I don't know the answer, but I certainly
sympathize, as I have had the same problem many times in the past. If no one
knows, you have to guess, open a project in VB, and see if you can find an
object you want in the object browser.
 
J

John E.

Ken and Hollis,
Thanks for replies. I used the browser and set up the check box for Forms
2.0 Object Library in References. Sorry for my ignorance on this.
 
K

Ken Slovak - [MVP - Outlook]

You can use Browse to navigate to anywhere and select that DLL from that
path to add it to your references. A useful trick when you want to add a
reference that isn't easily visible.
 
S

Sue Mosher [MVP-Outlook]

For future reference, Outlook VBA automatically adds a reference to MS Forms 2.0 when you add a new userform module to VBA.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
H

Hollis Paul

Sue Mosher said:
For future reference, Outlook VBA automatically adds a reference to
MS Forms 2.0 when you add a new userform module to VBA.
Sue, that is good to know. Thank you.
 

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