script error

N

Nat

I am no Outlook programmer, however we have some custom forms which were
created prior to our rolling out Vista and Office 07. Anyhow, one of these
forms is for a facilities room request .. where emails are generated to let
facilities know when ,where and what needs to be set up. When a user goes to
open up one of these forms in Public Folders, they get an "exception "runtime
Error" has occured in Script" dialog box. IF the user chooses not to debug,
they will see a 2nd dialog box, labeled Script Error, which states "Cannot
find this file. Verify teh path and file name are correct. Line No:40:
It then highlights the following line of code
' get ole/message session object
Set olemsession = application.CreateObject("MAPI.Session")

Does anyone know that this might be caused by? I can also provide the
entire code of the form, if that would help.

Thanks so much
 
N

Nat

Thanks so much Eric. That is perfect

Eric Legault said:
The code is referencing the Collaboration Data Objects 1.21 library (CDO.dll)
which is no longer distributed with Outlook 2007. It was on the Office CD in
prior versions, but now you have to download it from the web:

Download details: Collaboration Data Objects, version 1.2.1:
http://www.microsoft.com/downloads/...0d-c997-4de1-986f-24f081725d36&displaylang=en

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/
 

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