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

Tip: Looking for answers? Try searching our database.

Accessing Filesystem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Aron Mertineit - 01 Sep 2004 08:32 GMT
Hi!

I have an old form, which using the "FileSystemObject" to read a textfile.
With old Outlook versions works this fine, but under Outlook XP SP3 it
didn't work.
There are some new security-"functions" which refuse the access to the
filesystem ?
If yes, how I can disable these "functions" ?
My other problem is: I don't get any error message! Is there are a
possibility to debug the script?

Yours sincerely
Aron Mertineit
Sue Mosher [MVP-Outlook] - 01 Sep 2004 15:00 GMT
There are two major causes of code in an Outlook form not running -- 1)
security settings in Outlook 2003 and 2) the broader form script security
features introduced with the Outlook Email Security Update.

#1: Outlook 2003 includes a new setting -- turned off by default -- to allow
forms in shared mailboxes to run script. You can change the setting by
choosing Tools | Options | Other | Advanced Options and checking the box for
Allow script in shared folders. See
http://www.outlookcode.com/d/ol2003problems.htm#mailboxscript for more
information on this setting and a comparable one (on by default for public
folders).

#2: If the form runs code when you use Run This Form in design mode, but
doesn't run code after you have sent or saved an item using the form, you
probably have done something to "one-off" the form. Outlook 2003, Outlook
2002, Outlook 2000 SP2 and Outlook 2000 or 98 with the Email Security Update
will not run code on one-off forms; see
http://www.outlookcode.com/d/secforms.htm for more information on this
issue.

To ensure that a form does not one-off:

-- Make sure the "Send form definition with item" box on the (Properties)
tab of the form is *not* checked. [1]

-- For in-house corporate use with Exchange Server, publish the form to the
Organization Forms library or a public folder's forms library, as
appropriate for your application.

-- For collaboration via the Internet, publish your form to your Personal
Forms library. Save it as an .oft file and send it to other people who need
to use it with instructions to publish it with the same form name that you
used.

Many other things can cause one-off forms. If the above steps don't work on
a new item created with your form, see
http://www.slipstick.com/dev/formpub.htm#oneoff for other possible causes.

[1] Whenever you publish a message form, Outlook will suggest that you may
want to check the "Send form definition with item" box to ensure that the
recipient will have the form, especially if you're sending to someone via
the Internet. In the current Outlook security environment, this suggestion
is obsolete. Ignore it unless your form has no code behind it.

Signature

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

> Hi!
>
[quoted text clipped - 9 lines]
> Yours sincerely
> Aron Mertineit
Aron Mertineit - 06 Sep 2004 13:23 GMT
Thanks!

Is there an Debugger for Outlook-Forms or something like a debugger?

Yours sincerly
Aron
> There are two major causes of code in an Outlook form not running -- 1)
> security settings in Outlook 2003 and 2) the broader form script security
[quoted text clipped - 54 lines]
>> Yours sincerely
>> Aron Mertineit
Sue Mosher [MVP-Outlook] - 06 Sep 2004 14:26 GMT
Tools | Forms | Script Debugger

Signature

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

> Thanks!
>
[quoted text clipped - 46 lines]
>> via the Internet. In the current Outlook security environment, this
>> suggestion is obsolete. Ignore it unless your form has no code behind it.

>>> Hi!
>>>
[quoted text clipped - 7 lines]
>>> My other problem is: I don't get any error message! Is there are a
>>> possibility to debug the script?
 
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.