1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

C# code problem while opening .OST file

Discussion in 'Development' started by Joann C. Herb, Nov 19, 2018.

Thread Status:
Not open for further replies.
  1. Joann C. Herb

    Joann C. Herb Creeper

    Messages:
    1
    Looking for someone guidance using C# language for the opening .OST file. I’ve never done this before.

    I am working in an IT company, one project assigned to me for the opening .OST file in C# 5.0. After the execution process, I have faced a few errors. I have used the basic function in this program. Sometimes, it gets crashed for any reason in the middle of the execution process.

    Code:
    filter = "[ReceivedTime] >= '" + dtpStartDate.Value.ToString("dd/MM/yyyy 12:00 AM") + "' and [ReceivedTime] <= '" + dtpEndDate.Value.ToString("dd/MM/yyyy 11:59 PM") + "'";
    
    Outlook.Application outlookApp = GetApplicationObject(); Outlook.Folder root =outlookApp.Session.DefaultStore.GetRootFolder() as Outlook.Folder;
    
    EnumerateFolders(root); Outlook.MAPIFolder inboxFolder =outlookApp.Session.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox);
    
    inboxTable = CreateTable(); 
    I have not found this kind of error in Anand Tech Forum.
    https://forums.pmmp.io/forums/development/

    I’m very curious about my project. That’s why I searched on different forums regarding this error. Then I getting few answers from Google which will use to sort out this problem.
    http://www.smartquant.com/forums/viewtopic.php?f=44&t=14870
    http://forum.brackeys.com/thread/how-to-integrate-ost-file-with-c/
    https://www.stellarinfo.com/convert-ost-to-pst.php
    https://softuni.bg/forum/23276/izvlichane-na-ost-fayl-v-c

    So, my question is why my program gets crash after the execution and how I can fix the error.
     
  2. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    499
    GitHub:
    xXNiceYT
    This is pmmp(PocketMine)..
     
    EdwardHamHam likes this.
  3. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    I hate to break it to you, but the development forum here is specifically for programming PocketMine plugins, and other things related to it, usually done in PHP (which is what PocketMine is written in). I also don't know how to help you with your problem I'm afraid. May I recommend asking on Stack Overflow?
     
    xXNiceAssassinlo YT likes this.
  4. Destroyer57

    Destroyer57 Zombie

    Messages:
    275
    I will tell your companys leader that you ask on pmmp forums.
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.