HELP! read/write XLS file but dont delete!?
Posted: Tue Aug 19, 2003 1:05 pm
H E L P !!!
having strange prob here. have to finish until 17pm today a plugin for an existing software. my plugin say excel to open a specific file and modify at specific filelocations any values. also its complete automatisated (remoted). All works fine but there is following big problem that i dont manage to solve atm.
The xls file should be protected against deleting by any user. only admin should have this right. I added a new testuser without any deleting permissions but the user can always delete the file on the system. why? Something special i have to notice or any idea where and how to fix the prob (system config, user accounts)!?
i know it would be possible to check in my plugin for username but foget this, its a plugin and i dont have source of mainprog to change all the openfile stuff ;( damn
I have tested to open the delete protected file direct with excel and this works but when i change manually any val and want to save/update the file, excel will create some temp files and will hang on, because excel try to delete the file and write its new... this failed every time when user has no deleting permission.
i really need your help! THANKS!
having strange prob here. have to finish until 17pm today a plugin for an existing software. my plugin say excel to open a specific file and modify at specific filelocations any values. also its complete automatisated (remoted). All works fine but there is following big problem that i dont manage to solve atm.
The xls file should be protected against deleting by any user. only admin should have this right. I added a new testuser without any deleting permissions but the user can always delete the file on the system. why? Something special i have to notice or any idea where and how to fix the prob (system config, user accounts)!?
i know it would be possible to check in my plugin for username but foget this, its a plugin and i dont have source of mainprog to change all the openfile stuff ;( damn
I have tested to open the delete protected file direct with excel and this works but when i change manually any val and want to save/update the file, excel will create some temp files and will hang on, because excel try to delete the file and write its new... this failed every time when user has no deleting permission.
i really need your help! THANKS!