Hello,
Thanks for your reply.
For your first issue, you can use the special folder path for the downloads directory in Windows, as shown in the following code snippet.
- Code: Select all
string fileName = "insertTableToExcel.xls";
string downloadsFolder = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + "\\Downloads\\" + fileName;
By modifying your code to use the downloadsFolder variable as the save path, the file will be saved in the downloads folder of the current user, which is accessible to all users.Please note that it's important to ensure that the necessary permissions are set for the application to write to the downloads folder.
For your second issue, kindly note that your license has expired on August 16, 2020, you need to renew your license subscription to use the latest Spire.Office Platinum(Hotfix) Version:8.6.0. If there is still any doubt, just feel free to contact us.
Sincerely,
William
E-iceblue support team