I want to open a file from a Class in C# using a Process, I know that it is easy to embed an excel workbook (spreadsheet) in a .Net Winform program therefore I have created a Word and PowerPoint Application object, i tried to open it to check the changes made are proper but when I try to create one for Excel, I get the build error:
"Cannot create an instance of the abstract class or interface 'interface'"
The real problem arises when there is a stand-along Excel application already running before launching an Excel-embedded Winform. I even added code to the Service that opens a binary .dat file from the hard drive (not in Isolated Storage) and reads in some arbitrary values - this works fine under the console application and Windows Service, thereby proving the Windows Service has elevated trust.
Bookmarks