Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

My application requires a simple ini file. Is there a easy way to implement this without using any parsing?

0
Posted

My application requires a simple ini file. Is there a easy way to implement this without using any parsing?

0

Yes. This may not be the most efficient way to read from a ini file but it is a pretty good solution that is easy to maintain. You can use a XML file to store your settings. Use a DataSet to read from it. Consider a simple sample file, config.ini. It has three parameters base_path, update_path and output_file. These will map to columns in the settings datatable. view config.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123