I have created a simple windows form application to create a excel file and logging some debugging information.
this is my code when creating excel file
xlWorkBook.SaveAs(filePath, Excel.XlFileFormat.xlWorkbookNormal, misValue, misValue, misValue, misValue, Excel.XlSaveAsAccessMode.xlExclusive, misValue, misValue, misValue, misValue, misValue);
and this is the code when logging some debugging information
using (System.IO.StreamWriter file = new System.IO.StreamWriter("logFile.log", true))
I have publish the application and install it in my machine to test out the location of both files. I found my excel file in the Document folder while the log file in C:\Users\ME\AppData\Local\Apps\2.0\METYACXG.8BW\3MBVM2YL.M9V\bill..tion_974a70d1e552787b_0001.0000_c89a52caddc0075b
I wonder is this the standard way or best practice?