Hello
My application is being developed in VS2008.
Target frame work is .Net 2.0
Desktop application.
My appliaction collects some information from User, Name of company address etc. Those are to be included in the report I am generating.
I need to save these information and some other settings like Window size etc. So that it will be loaded in the next run. No 'users' in my application, only one settings needed.
From searching I concluded that at least two methods are possible. One is application settings tab in project properties, another is by making a .ini file.
What is the simple method for my requirement? Which way I should proceed?
Thank you
Loading

Ady50 reputationPosted Jan 19, 2010, 2:15 AM EST
Roy Thomas6 reputationPosted Jan 19, 2010, 5:42 AM EST
Thanks for the link.
Still I have one problem- I need to get a string from user and persist it for next sessions until overwritten.
This config file mechanism can save such data also?
Thanks
Ady50 reputationPosted Jan 21, 2010, 4:33 AM EST
Roy Thomas6 reputationPosted Jan 21, 2010, 7:30 PM EST
I followed this method.
That DLL, I included in my application and created a 'Xml' class object.
Then simple- it will automatically create a xml file and saves the parameters.
reading also simple.
I don't know the cost of adding a complex dll with lot of functionalities and using a simple part of it in my app. Seems working now.(opinions are welcome- I am not an experienced programmer)
Thanks again