Using VS 2010, .Net 4.0
I'm working on a project that used to be VB 6 and I'm converting it over to C# (more for practice than anything). Basically what it's doing at this point is taking a file and saving it as something else. Went through the process list and found the application I want (could be Excel, Word, Notepad or Programmers File Editor). Word and Excel are no problem, just use the object and life is good. Problem is when we come to PFE and Notepad. The current application uses SendKeys which as we all know aren't the most reliable thing in the world, unless you put in some pretty long waits and even then not so accurate at times. All I really need here is a save as, however the problem is figuring out what file I need to "save as". If I have to I'll use SendKeys, but if someone has a better idea I'm open to it.
Thanks!