Iam setting password to the existing excel fille while perform read /write opertions on excel file … My intention is setting Protected password to existing excel file, …using below code Please help how to resolve this problem … what i have to do need to work in server ? – the bove code is working well in local machine using suported Aspose.Cells dill, but we deployed dlls, in live server, the code is running, we are not getting any exception, the excel file also comming, but the excel file does not have read /write permssions… 'Instantiating a Workbook object and Opening the Excel file through the file streamĭim excel As Workbook = New Workbook(fstream)Į = PasswordĮxcel.Save(FileName, SaveFormat.Excel97To2003) Public Function SetPasswordToExcelFile(FileName As String, Password As String) As Booleanĭim fstream As FileStream = New FileStream(FileName, FileMode.Open) Seeting password protection is working in local machine, once we deployed in server, its not working Right now we deploy the latest version of Aspose.cell 18.5.1 dill file into server, but the problem not resolved,
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |