HOW TO: Disabling email while in design mode

0 Likes

Problem:

How can the automatic emailing of errors be stopped while in the IDE, but still function in a compiled exe?

Resolution:

You can modify the fsERROR function in FailSafe.bas as follows:

Find the code below:

    'if sending an email, then send the log

    If Len(fsEmailAddress) > 0 Then fsEMAIL

and change it to:

    'if sending an email, then send the log

    If fsDesignTime = False Then

        If Len(fsEmailAddress) > 0 Then fsEMAIL

     End If

Old KB# 12144
Comment List
Anonymous
Related Discussions
Recommended