Skip navigation
Currently Being Moderated

How to move shared object file(.SOL) in windows

Sep 9, 2010 4:42 AM

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

 
Replies
  • Currently Being Moderated
    Sep 9, 2010 5:54 AM   in reply to 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

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points