more G-Labs products

Author Topic: Where does the Program.Store keep the data?  (Read 446 times)

December 05, 2016, 06:21:25 AM
Read 446 times

HGexperimenter

  • **
  • Information
  • Jr. Member
  • Posts: 42
I have a program running that uses the program store feature, but I can't seem to find where the data is saved.  I checked MODULES.XML where there is a <Stores /> section for the program module- no luck...

It's not in the homegenie_stats.db file either.

Code example that works:
Program.Store(STORENAME).Get("MyValue").Value=1;
var storeData = Program.Store(STORENAME).Get("MyValue").Value;

Does anyone have an idea??

Thanks


December 05, 2016, 03:32:36 PM
Reply #1

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
I never used that function, but perhaps that data will store in systemconfig.xml

December 11, 2016, 10:08:56 PM
Reply #2

HGexperimenter

  • **
  • Information
  • Jr. Member
  • Posts: 42
Nope - not in:
programs.xml
modules.xml
systemconfig.xml

I even checked the homegenie_stats.db (which hold statistics) - not there either
I also did a search for any files in the HG directory that were modified in the last week/month.

It's a mystery!   It's been many days since data was stored.  In the "old" versions it was in modules.xml...

Anyone got knowledge on this?  Seems to be a feature to keep data through re-boots so it must be useful to someone :)

PS: I'm using HomeGenie Version 1.1 beta r525