How can I recover a corrupted PowerPoint 2010 file?
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":
Related videos on Youtube
plasmasnakeneo
Updated on September 18, 2022Comments
-
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 about 9 yearsI don't see what's stopping you from doing this. How is
SomeMethod
"returning" the new object? How is the code callingSomeMethod
trying to use that object? Where is the error? -
D Stanley about 9 yearsI'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. about 9 yearsYou have this method in a class right? You can use a static class to call your static method.
-
plasmasnakeneo about 9 yearsSorry 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 about 9 yearsWhat 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 about 9 yearsNo @MickyDuncan, I think I am having greater difficulty constructing a well defined question.
-
-
Vegter almost 13 yearsthis was something that I created today therefore it was not included in last night's backup
-
Vegter almost 13 yearsI tried following the instructions in this tutorial with no avail. Are there any other suggestions! Thanks!
-
Bojan Komazec about 9 yearsIt 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 about 9 yearsSending it on it's merry way is the problem I am trying to solve. How do I accomplish this?
-
James Lucas about 9 yearsIf 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 about 9 yearsNamespaces give the compiler some clue on where to look for the types used in the code.