I wrote a program that consolidates my departments everyday work duties. I work for a duplication company that burns digital media for libraries. Right now the program I made is "hard coded" to display 2 specific folders in a tree-view. However the company has been changing around the network drives and the folder paths keep changing. This results in me having to open the project, change the paths, re-publish the project, and then re-install it on all the machines (12).
I have made a new form in the project called "settings" and would like the user to be able to open up the settings form to search for a folder path and "Save" it. I assume I would save the path as a label.text and then in the tree-view code set the path to "Folder A" = lable.text and "Folder B" = lable2.text.
But I am stumped as to how to setup the navigation to a folder and saving the path as a label. I am new to programming but have been trying to learn as much as possible. Once I figure this out I think I can figure out how to save user settings so they wont erase when the program closes.
So far I tried OpenFileDialog but I think that is just for files. Thanks for you help in advance everyone.
This forum has been mroe than helpful.
I have made a new form in the project called "settings" and would like the user to be able to open up the settings form to search for a folder path and "Save" it. I assume I would save the path as a label.text and then in the tree-view code set the path to "Folder A" = lable.text and "Folder B" = lable2.text.
But I am stumped as to how to setup the navigation to a folder and saving the path as a label. I am new to programming but have been trying to learn as much as possible. Once I figure this out I think I can figure out how to save user settings so they wont erase when the program closes.
So far I tried OpenFileDialog but I think that is just for files. Thanks for you help in advance everyone.
This forum has been mroe than helpful.