I have a windows form program currently outputting to my desktop, It is a windows form that outputs a HTML. I understand I can change the Output directory using visual studio in the way described here
However I want to code in an output path that will override any Visual Studio settings. Something along the lines of...
outputPath = [path/string]
I've tried searching for this but all I can find is how to do it using visual studio.
I want to avoid using FolderBrowserDialog or SaveFileDialog as they promt the user to select a path, which is not what I want.