Parsing PST Subfolders Error

Hey guys,


While parsing some PST subfolders, I get an “Arithmetic operation resulted in an overflow” error message when it runs the folderInfo.GetSubFolders() function.

Heres the code:

If folderInfo.HasSubFolders = True Then
For Each subfolderInfo As FolderInfo In folderInfo.GetSubFolders()
ExtractMsgFiles(subfolderInfo, pst)
Next subfolderInfo
End If

Hi Marcellus,


Thank you for inquiry.

Could you provide some more details on the PST file like
  1. Any special character in the name of subfolders
  2. version of PST
    1. Office Outlook Personal folder file
    2. Outlook 97-2002 Personal folder file
We will try to create such folders in PST at our end will try to reproduce the problem. But, it would be helpful, if you could send us a sample PST for which this exception is thrown.