i've got a series of programs that i've written at work to manage certain functions in a simple manner.
they basically use a list box to select a certain machine in the network to perform an action upon (i.e. ping it, restart it, kill it, or reload the software that's running on it) now every time we add a batch of machines to this network (usually 20 at a time) i've got to go in and add all these new machines into the text boxes on all the forms involved then go through and add the subsequent code (if item 25 is selected then do this stuff) for new line....this is tedious...
what i'd like to be able to do is populate all the listboxes from a text file that i can modify (from one location)...that part i think i can do...what i can't do is have the program automatically decide what code to do based on which thing is selected without typing it out with each new item in the list..