Reference Standard OLE types

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to set a reference to 'Standard OLE types' (Access 97) but when I go
in to the Set Reference dialog there is no listing for 'Standard OLE Types',
does it come under a different name or will I need to download and install
the reference.
 
On my system, OLE Automation:
C:\Windows\system32\stdole2.tlb

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Stephen, although Access now accepts 'SavePicture' after referencing as you
suggested, I am getting an error message - 'Compile error, Expected: = '
My line of code is - SavePicture(obj,"C\SL11-52")
 
Sounds as though SavePicture was defined as a function.

To use a function without worrying about what it returns, use either

Call SavePicture(obj,"C\SL11-52")

or

SavePicture obj, "C\SL11-52"
 

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

Back
Top