Using Excel for saves
-
- Posts: 73
- Joined: Tue Feb 15, 2011 3:14 pm
Using Excel for saves
So I started playing around with vb.net using Excel for save files.
But I keep having a small issue.
Excel, keeps loading up asking for a password. (Passworded to stop people from screwing with the info)
I don't want it to load up at all, any way to fix this?
But I keep having a small issue.
Excel, keeps loading up asking for a password. (Passworded to stop people from screwing with the info)
I don't want it to load up at all, any way to fix this?
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Using Excel for saves
If a password has ended up on your Excel file, you can remove it by following the instructions here. If the password has something to do with .NET-to-Excel automation, I am not sure, as I have not done any Office automation since VB6.
The indelible lord of tl;dr
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Using Excel for saves
i thought there was an excel library you could use to parse the data directly in the file. If you are calling the file then the excel parser is needed.
-
- Posts: 34
- Joined: Sun Jun 10, 2012 1:31 pm
Re: Using Excel for saves
"Why you no use sql-lite?"
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Using Excel for saves
I would agree a DB would be easier but if it is something he is wanting to just easily deploy a text based file solution may be easier.
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Using Excel for saves
I do have to agree on SQL-Lite. SQL-Lite basically is a simple, text file-based solution that can easily be deployed with the application if needed. But it is much more advanced than simply using straight flat file or CSV files since it abstracts away much of the parsing and gives you a pretty decent SQL-like experience.
The indelible lord of tl;dr
-
- Posts: 73
- Joined: Tue Feb 15, 2011 3:14 pm
Re: Using Excel for saves
Already using a .txt file save system, but I'm trying to look into a better save method where they can't edit the character files.
So which would you suggest then?
DB = SQL-lite
or
excel
So which would you suggest then?
DB = SQL-lite
or
excel
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Using Excel for saves
I am not sure how secure SQL-lite is. You may just want to look into encrypting your IO to a flat file.
The indelible lord of tl;dr
-
- Posts: 73
- Joined: Tue Feb 15, 2011 3:14 pm
Re: Using Excel for saves
Any suggestions on to do that?Jackolantern wrote:I am not sure how secure SQL-lite is. You may just want to look into encrypting your IO to a flat file.
My encrypting knowledge with vb.net is non-existent
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm