Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

VB.NET and XML question

I'm not very familiar with XML or VB.NET.

I'm attempting to create an application that can be used to keep track of specific data.

Essentially what I want to do is this

[Image: EI4fOrL.png]

Write this data into a database that can be saved by the application upon closing and viewed again at later dates.


First I was attempting to just use Folders and text files, but the way I wanted it to work was to input the dates/times/ETC as the file name but windows wont allow some of the characters I need  )(:;\/


Then I got thinking what if I keep the database inside the application itself instead of streamreading and writing data to text files and directories.


And that's why I am here. Is this possible using an XML file?
(Jul 18, 2018 02:09 AM)Shadow Reign Wrote:  First I was attempting to just use Folders and text files, but the way I wanted it to work was to input the dates/times/ETC as the file name but windows wont allow some of the characters I need  )(:;\/

Replace or remove those invalid character then?

(Jul 18, 2018 02:09 AM)Shadow Reign Wrote:  And that's why I am here. Is this possible using an XML file?

Yes.
[Image: signaturetwo.png]
If I remove them it makes the file name difficult to understand and I can't find a decent replacement that windows will allow.


But now that I know, I'm going to try it with an XML file.
You can store and retrieve data by using "Xml Serialization". ;)


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by offpageseoAug 25, 2016 08:49 AM 3 132 Aug 25, 2016 08:49 AM
Last Post: Elitas
[.NET] by CairnsJul 18, 2014 06:34 PM 7 257 Jul 18, 2014 06:34 PM
Last Post: idb.
[.NET] by peacem4kerDec 4, 2013 01:01 PM 3 148 Dec 4, 2013 01:01 PM
Last Post: Only3