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
AdyPosted Jan 19, 2010, 7:15 AM
Roy ThomasPosted Jan 22, 2010, 12:30 AM
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
AdyPosted Jan 21, 2010, 9:33 AM
Roy ThomasPosted Jan 19, 2010, 10:42 AM
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