Image control OLE error on access 2003 and .Action = acOLECreateEmbed

E

Eric

Hi! I'm using an image control to link pictures to a table. Everything has
been working great until I moved everything to a computer with access 2003.
Then I get the message:

"A problem occured while microsoft access was communicating with ole server
or activex control "

The line causing the problem seems to be this:

..Action = acOLECreateLink

If I use:

..Action = acOLECreateEmbed

it works fine.

What's also interesting is that it works with .bmp-files but no other
graphic file. If I change the extension to bmp (from gif, jpg or whatever)
it works. Bmp files are associated with Paint. If I associtate other files
with paint, it doesn't work either. (And sometimes is doesn't work at all
until I restart the Access.)

(It's not a references problem.)

Any clues?

(What is also funny is that it works on *some* Access 2003 computers...)

/e
 

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