automation with outlook 2007

P

phleduc

I have mulitple office versions installed (Access 97, 2000, 2003, Office
2003, Office 2007)
Unitl recently automation to Outlook 2007 from Access worked (in Access
2003)
However something (update, installation of visio, project 2003,...?????)
created an issue.
Any of my code trying to create the outlook object gives the following kind
of error: "automation error, the specified module could not be found"
The reference is set to "C:\Program Files\Microsoft
Office\Office12\MSOUTL.OLB", this file is still there at the indicated place
by the reference.
Is there any way to register this file again (like with a a regsvr32.exe for
a dll file) (or to solve it otherwise).
Could I just copy the file from another machine and replace it?
I read somewhere that a reinstall of office might be necessary which could
be
a complete nightmare as i have all thise different versions. Could I just
install and reinstall Outllook?

Thx

Philip
 
P

Paul Shapiro

I would try unchecking the reference and closing the References dialog. Then
open the References dialog again, scroll down to Microsoft Outlook and
re-check it. If you can see the reference in the dialog, it should be ok
once you select it.
 
P

phleduc

Hi Paul,

tried to recheck references, did a compact /repair before rechecking, that
did not work (also problem from different .mdb files) , also did try to copy
the file from another computer, did not work either, did a repair on office
2007, did not help either....

just leaving to a three week trip abroad so don't want to mess too much,
still would be happy to know if you see any other options (would
uninstalling outlook and reinstalling work?)



philip
 

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