DataObject - reference to add?

  • Thread starter Thread starter Al
  • Start date Start date
A

Al

I want to use the DataObject to put/retrieve text to/from the clipboard.
MSDN says to use the reference as "Microsoft Forms 2.0 Object Library". But
I don't see that as a choice in my references. I'm working in VBA using
Access 2007. Suggestions? thanks, Al
 
Yep, I ran into the same issue. :) I found that the Microsoft article at
http://support.microsoft.com/kb/212730 describes how to populate this object
if it's not already referenced. Specifically...

NOTE: If the Microsoft Forms 2.0 Object Library check box isn't available,
follow these steps:
a. Click Browse.
b. Navigate to the file Fm20.dll, located in one of the following folders:•
In Microsoft Windows 95/98, the file should be located in the \SYSTEM folder.

-or-
• In Microsoft Windows NT or Microsoft Windows 2000, the file should be
located in the \SYSTEM32 folder.

c. After you have located the file Fm20.dll, in the Add References box,
click Open.

Worked for me...
 
Back
Top