I am new to .net programming and I am having difficulty with one area. I wrote (90% complete) a program which will allow me to quickly configure a hard drive once imaged. The program opens up into a multi-tabbed form. One of the tabs have fields for computer name, individual fields for putting in the IP, SNM, DGW etc. I want my tech's to have the ability start the program, open the tab, fill out the appropriate fields then either apply all the settings with a single click of a button or just apply the settings for one of the separate sections ie: either computer name or IP Address only. I am using visual Studios 2010.
Initially, I created sub routines for each task (change computer name, change IP address, etc). I can execute each individual task (change computer name or change IP address) individually when i click the button to change the one section. The issue is coding the config all button. When this button is clicked, I want the program to start by executing the "change_computer_name" subroutine while all the other subroutines are waiting in queue. Once the "change_computer_name" subroutine is completed, the "change_IP_Add" subroutine launches.
My research has lead me down the path of using a "BackgroundWorker" or using "Queuing" for this feature. I have spent at least a full day (24 hours cumulative) exploring these possibilities however I cannot seem to get it done. I pride myself on being able to self study and get it done but it’s time to swallow my pride and ask.
Any assistance would be appreciated.