How can I recover a corrupted PowerPoint 2010 file?

243

Solution 1

Yes! Restoring from your regular backups costs nothing and you can start work again immediately after the restore is complete. Everybody knows to make regular backups of important things and it appears that since this file is important you would have backed it up regularly.

Solution 2

There are rarely free tools for problems like this, and I could find none. You can try following this Microsoft document "Recover a corrupt PowerPoint file":

http://office.microsoft.com/en-us/powerpoint-help/recover-a-corrupt-powerpoint-file-HA001116878.aspx?redir=0

Share:
243

Related videos on Youtube

plasmasnakeneo
Author by

plasmasnakeneo

Updated on September 18, 2022

Comments

  • plasmasnakeneo
    plasmasnakeneo over 1 year

    I am storing terms into a somewhat complex (at least for me) dictionary of type:

    Dictionary<string, Term>  
    

    Where "Term" is a class that I have defined with a List of "Occurrences", as shown in the code below.

     namespace SomeNameSpace
     {
        public class Occurence
        {
            public int docID { get; set; }
            public int termOcc { get; set; }
        }
    
        public class Term
        {
            public int numbOfDocuments { get; set; }
            public int lastDocAdd { get; set; }
            public int termCount { get; set; }
    
            public List<Occurence> docOccurances = new List<Occurence>();
        }
    
        public class TermDictionary
        {
            public Dictionary<string, Term> termOccurence = new Dictionary<string, Term>();
        }
    
        public static void SomeMethod()
        {
            TermDictionary TermDictionary = new TermDictionary();
     .
     .
     .
    

    When the void function "SomeMethod" completes there is a return to the calling namespace, which is not "SomeNameSpace" but some other namespace.

    I would like to use the stored values from the dictionary in the other namespace so that I may access the dictionary based on queries input from a user.

    Is there a way to have the data from this dictionary persist so that I may access it from another namespace? Or perhaps a way to pass the dictionary to the other namespace so that I may use it there?

    • David
      David about 9 years
      I don't see what's stopping you from doing this. How is SomeMethod "returning" the new object? How is the code calling SomeMethod trying to use that object? Where is the error?
    • D Stanley
      D Stanley about 9 years
      I'm confused - what do you mean "return to the calling namespace"? Your method doesn't return anything or set any class members (neither does your constructor). What are you expecting to happen?
    • Josh L.
      Josh L. about 9 years
      You have this method in a class right? You can use a static class to call your static method.
    • plasmasnakeneo
      plasmasnakeneo about 9 years
      Sorry for any confusion, this method is being called from another method in another namespace. There are a lot of things the method does, and does just fine. I am actually printing the dictionary data to an output file, but after that happens I would like to access the values of the dictionary again from another namespace. I have left out a lot of code as an attempt to simplify my question.
    • Deleted
      Deleted about 9 years
      What you are describing is fields or properties both of which would have been covered in a good Learning c# 101 book or tutorial rather than posting a question of that nature on SO. You seem to be confused with namespaces. Good luck!
    • plasmasnakeneo
      plasmasnakeneo about 9 years
      No @MickyDuncan, I think I am having greater difficulty constructing a well defined question.
  • Vegter
    Vegter almost 13 years
    this was something that I created today therefore it was not included in last night's backup
  • Vegter
    Vegter almost 13 years
    I tried following the instructions in this tutorial with no avail. Are there any other suggestions! Thanks!
  • Bojan Komazec
    Bojan Komazec about 9 years
    It is not namespaces that are calling methods but methods which belong to classes (which are in namespaces, but only in order to avoid class name clashes) are calling other methods and use returned values. Also, your method SomeMethod cannot be out of any class.
  • plasmasnakeneo
    plasmasnakeneo about 9 years
    Sending it on it's merry way is the problem I am trying to solve. How do I accomplish this?
  • James Lucas
    James Lucas about 9 years
    If a class in another namespace is to use one of the classes above it needs to add a using directive with the namespace like this at the top of the file: using SomeNamespace;
  • James Lucas
    James Lucas about 9 years
    Namespaces give the compiler some clue on where to look for the types used in the code.