I have a listbox called filLoadFrom, and it is used to display file names of different .prx files for the user to select from so a page can maintain certain settings. If you click on a given item in the list box the associated .prx file will load the proper settings. I have added some items by hand by clicking on the little arrow in the top right corner, and then clicking on 'edit items', and it works just fine to load files from my directory. The problem is this: if a user wants to come along and make an new set of settings and create a new .prx file. I do not know how to add a new setting name to the list box.
My txtBox is where the user types in a new file name, and it works until you close the program, and then re open it, then the file is no longer in the list box. The file DOES exist though in the associated directory. Here is what I did:
filLoadFrom.Items.Add(txtBox.Text)
Should I be using a data bound property?
My txtBox is where the user types in a new file name, and it works until you close the program, and then re open it, then the file is no longer in the list box. The file DOES exist though in the associated directory. Here is what I did:
filLoadFrom.Items.Add(txtBox.Text)
Should I be using a data bound property?