Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / May 2008

Tip: Looking for answers? Try searching our database.

script error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nat - 18 Mar 2008 18:44 GMT
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
Eric Legault [MVP - Outlook] - 19 Mar 2008 19:55 GMT
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/details.aspx?FamilyID=2714320d-c997-4de1-986f
-24f081725d36&displaylang=en


Signature

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/

> 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
[quoted text clipped - 12 lines]
>
> Thanks so much
Nat - 06 May 2008 21:38 GMT
Thanks so much Eric.  That is perfect

> 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
[quoted text clipped - 19 lines]
> >
> > Thanks so much

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.