Hello friends
i am making a desktop application in which i used shared object which is by default stored in Application Data\-ExpertDemo\Local Store\#SharedObjects\userSettings.sol but instead of storing the shared object in this location i want it to be stored in insatallation applicton directory.
i mean i want to create the shared object in my application folder.is it possible to move the .sol file.
Please Please Help me out from This problem.
Thanks in Advance.
Thanks and Regards
Vineet Osho
Hi,
1. You cant choose the location of your sharedObject, I mean where you want to.
2. It's depreaced to write on appDirectory (installDir). On some OS, its "impossible" to modify a file/add a file on the Program Files directory directly.
Why not using a simple XML file ? or EncryptedLocalStore ? or a file with your objects ?
Hope it helps
Thanks a ton for your quick.Yesterday i tried to follow ur adivise of creating local storage file instead of shared object.i just want tocreate the directory in my installation directory .but when i release my application it shows a run time error regarding damage application sort of.
i just want to ask is it possible to create ur file in application folder(installation directory)if yes then please help me out.
Regards
vineet Osho
North America
Europe, Middle East and Africa
Asia Pacific