Hi folks,
I have an application that reads a couple of XML files (different formats) then writes a new text/xml file.
Basically the process is...
1st button pressed, openfile dialog is opened and a unique xml file is read using xmlTextReader. This populates a number of textBoxes on my form.
2nd button pressed, openfile dialog opened and another xml file is read using xmlTextReader. This populates some more textBoxes on the form.
Finally a 3rd button is pressed, this then writes a xml file using StreamWriter, using strings created from the textboxes.
Sooo... my question. Can I add another button to the form, that will look in a certain folder, and cycle through the sequence of button presses for each xml file it finds in there? I reaise this will mean getting rid of the openfile dialogs at each instance, but I think I could use 2 extra textBoxes with the folder path, and location of the file found in the second button press above.
Alternatively, should I just look at creating a exe file that will do the same sort of thing, but with some sort of drag and drop functionality?
Any thoughts or ideas greatly recieved.
Cheers
Alun
I have an application that reads a couple of XML files (different formats) then writes a new text/xml file.
Basically the process is...
1st button pressed, openfile dialog is opened and a unique xml file is read using xmlTextReader. This populates a number of textBoxes on my form.
2nd button pressed, openfile dialog opened and another xml file is read using xmlTextReader. This populates some more textBoxes on the form.
Finally a 3rd button is pressed, this then writes a xml file using StreamWriter, using strings created from the textboxes.
Sooo... my question. Can I add another button to the form, that will look in a certain folder, and cycle through the sequence of button presses for each xml file it finds in there? I reaise this will mean getting rid of the openfile dialogs at each instance, but I think I could use 2 extra textBoxes with the folder path, and location of the file found in the second button press above.
Alternatively, should I just look at creating a exe file that will do the same sort of thing, but with some sort of drag and drop functionality?
Any thoughts or ideas greatly recieved.
Cheers
Alun