Main menu

Search
Login
Signup
Links
<< Previous thread | Next thread >>   
Saving of the settings in a file *.dat

Author Post
dropper
Sun 01 Sep 2013 - 12:37

online
Registered Member #39636
Joined: Tue 15 Feb 2011 - 23:47
Posts: 165

Assuming that an app saves its settings in a file .dat. Especially may be saved the changes with respect to drive-letters and languages in this file .dat. Because of the difficulties regarding the access to this .dat file, there are now basically 2 options.

  1. Removing of the file .dat

    Firstly I can remove this file .dat. Afterwards I look, where the app now stores its settings. Now I start the development of a portable version of the app.

  2. Access to the file .dat

    Under the assumption of a possible access to the file .dat I search for another kind of development of a portable version of the app.


My main problem is now, if here exists a way of the development of a portable version in the case of #2. And if yes, how must I perform the access to this file .dat?

Back to top
Danix
Sun 01 Sep 2013 - 19:34

online

Registered Member #1
Joined: Fri 29 Dec 2006 - 05:38
Location: Sassari
Posts: 12960
Some .dat files (but not all) are not writable by X-Launcher. Are you sure that your is not writable? Can you put it here as an attachment?

P.S.: if you put it as an attachment in this forum you have to compress it (.zip file).
Back to top
Website
dropper
Sun 01 Sep 2013 - 20:43

online
Registered Member #39636
Joined: Tue 15 Feb 2011 - 23:47
Posts: 165
In this specific case it is the file "portable.dat", in which the settings of the program PDF-XChange Viewer are stored. Since this is probably a binary file, it's seems probably be unable to access this file. Though this is an exclusively native portable application, I would still have access to this file portable.dat ( because of changes regarding drive-letters and languages).

[ Edited Sun 01 Sep 2013 - 20:58 ]
Back to top
dropper
Mon 02 Sep 2013 - 12:28

online
Registered Member #39636
Joined: Tue 15 Feb 2011 - 23:47
Posts: 165
I will try to explain my problem in more detail. Assuming that the file portable.dat isn't writable by the X-Launcher. Furthermore I've integrated the program PFD-XChange Viewer in the winPenPack Net menu. Now will occur some problems.

Firstly the automatic language switching doesn't work in the winPenPack Net menu. And secondly the change of drive-letters can't be performed after moving to another PC . Also should be mentioned, that stamps are saved in %APPDATA%\Tracker Software\PDF-XChange Viewer\2.0\Stamps (for your reproduction: Tools>Comment And Markup Tools>Show Stamps Palette>New Collection, then From Image or From PDF).

Due to these issues it's probably the best idea for contacting the publisher with the aim, that the publisher offers a more readable format instead of the currently used proprietary binary format.

[ Edited Mon 02 Sep 2013 - 12:31 ]
Back to top

Moderators: Danix, Taf, Rcs, Energy, zandet2, ZioZione, Admin, LordJim60

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System