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 / January 2004

Tip: Looking for answers? Try searching our database.

Outlook 2003 & VBScript Code

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Neil Dittmar - 02 Jan 2004 20:39 GMT
Hi Everyone,

    I'm running into an issue programming a custom
calendar/appointment form in Outlook 2003 using VBScript.  
The issue occurs if I try to book a resource using the
custom form.  Everything else appears to be fine (VBScript
code runs as expected), however when I try to book a
resource I get the following error:

"The object could not be found.  Unable to directly book a
resource for this meeting."

    The strange thing is that I can book a resource using
the default Outlook 2003 appointment form.  I can also
book a resource using my custom form if there is no
VBScript code behind it.  The error only occurs when there
is any VBScript code behind the custom appointment form.  
I have tested this by simply adding "Option Explicit" as
the only line of code in the editor, republishing the form
and attempting to create an appointment with an added
resource.  It is specifically any code behind the
appointement form that causes it to error out.  If anybody
has any suggestions or information regarding this issue,
it would be greatly appreciated.

Thanks,

Neil Dittmar
Software Developer
Aurora Information Systems
Sue Mosher [MVP] - 02 Jan 2004 21:06 GMT
I wonder if the fact that Outlook 2003, by default, doesn't run script in
other people's mailboxes is part of the problem. See
http://www.slipstick.com/dev/ol2003problems.htm#mailboxscript
Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> Hi Everyone,
>
[quoted text clipped - 26 lines]
> Software Developer
> Aurora Information Systems
Neil Dittmar - 12 Jan 2004 17:53 GMT
    Thank you for the reply Sue.  Looking into things a
bit further, I've found that if I publish my form to the
calendar of the resources mailbox, everything works fine
(resource books correctly, etc.)  Although it makes things
work, this may be undesireable as the admin would have to
publish the custom form into the calendar of every
resource.  If there are many resources, this would be very
time consuming.  Does anybody have any thoughts as to why
this type of synchronization would need to be invoked and
most importantly, how I can get around having to do it in
the first place?  It may be important to mention that my
server system is Small Business Server 2003 (Windows 2003
Server / Exchange 2003 Server).  Any ideas or suggestions
would be greatly appreciated.

Thanks,

Neil Dittmar
Software Developer
Aurora Information Systems

>-----Original Message-----
>I wonder if the fact that Outlook 2003, by default, doesn't run script in
[quoted text clipped - 32 lines]
>
>.
 
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.