moongodess Posted June 1, 2005 Posted June 1, 2005 Hi!! I have a grid in my project that must have some 'properties' saved and loaded.. I created a sample txt file with some things that I have to save about that grid. I was wondering if it is possible to read the file doing something like this: Dim c as column for each c in columns 'Do something next Dim g as group for each g in groups 'Do something next I have the mentalis class to read and write to some file, but with that it's not possible to have quotes and 'subquotes'. Can someone help, please?settings.txt Quote
Moderators Robby Posted June 1, 2005 Moderators Posted June 1, 2005 The best thing to do in your case is use an XML file instead of a txt/ini file. When you load the XML you can then iterate the collection similiar to your current code. Quote Visit...Bassic Software
moongodess Posted June 2, 2005 Author Posted June 2, 2005 And how can I do that? I never worked with xml files :o Quote
moongodess Posted June 2, 2005 Author Posted June 2, 2005 I searched a lot and I found a way to create a file like the attached.. (This one was made by me :rolleyes: ) Now I need to know how can I read from each section, in order to get a collection with columns information, another with groups information, etc.settings.zip Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.