Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 697561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T03:10:51+00:00 2026-05-14T03:10:51+00:00

config.ini: [globalloads] plugin.SWPlugin = 1 plugin.SWPlugin.params.1 = true plugin.SWPlugin.params.2 = 10 [testz : globballoads]

  • 0

config.ini:

[globalloads]
plugin.SWPlugin = 1
plugin.SWPlugin.params.1 = true
plugin.SWPlugin.params.2 = 10

[testz : globballoads]
plugin.SWPlugin.params.2 = 20
plugin.SWAnotherPlugin = 1

Simple enough?

// load testz config and programmatically create this equivalent code:
SWPluginAbstract p = new SWPlugin(true, 20);
// go thru the loop and load the other plugin too
SWPluginAbstract p = new SWAnotherPlugin();

If a different config.ini setup is needed to do that, it’s not a problem… I suspect I will need to use a reflection class of some sort? I’m new to the whole .NET thing

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T03:10:51+00:00Added an answer on May 14, 2026 at 3:10 am

    The recommended mechanism for storing settings is to define custom ConfigurationSection’s w/ custom elements and collections. These can then be stored in machine.config, app.config and a few other places.

    The easiest way to make these is with a Visual Studio add-in called “Configuration Section Designer” on CodePlex.com.

    It’s visual and does a good job of making configuration sections.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create a config.ini that exist in Java for C#? Is there
I'm developing a zend application.I have in config.ini: resources.db.adapter = PDO_MYSQL resources.db.isDefaultAdapter = true
I have this code to create a config.ini file with Zend Framework but I
Basically, I would like a simple, easy, one-file way to parse an INI file
What is the difference between osgi.startLevel and osgi.bundles.defaultStartLevel present in config.ini of equinox OSGI
Trying to configure Zend_Cache_Backend_Memcached via a config.ini or config.xml file. I'm not sure how
The testing code: import ConfigParser config = ConfigParser.ConfigParser() config.read('test_config.ini') orig_str = line1\r\nline2 config_str =
I am trying to hard code into C++ program to look for config.ini in
in Zend-Framework, is it possible to save an altered .ini-File? Because altering the $config-Array
I have put a config ini file config.ini for reading and writing to from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.