Warnings Option ID Constants specify what optional feature to enabled or disabled in the ediWarnings object/interface.
For i = 1 To oWarnings.Count
Set oWarning = oWarnings.Warning(i)
Next
If this option is disabled, errors/warnings generated are still passed to the client as events. However, they are not stored in the ediWarnings object, and the Count property, in the code snippet demonstrated above, will return zero. This option is enabled (1) by default.