I use the following code block with some more code inside the using block: using (System.Drawing.Bitmap tempImg =
I have created an application in C# with visual studio. The 开发者_Go百科application has a Save dialog box which saves to an xml file and a Load dialog box which loads the xml data into the applicatio
I am trying to make a text file in memory, add some lines to it and at the end save the file in a text file. I can handle the savedialog part but I dont know how to get the text file from memory. Any
In my SaveFileDialog I have multiple types in the filter, however when viewing the dialog if I choose a filter to view files of that type in the directory I am only able to see files for the first and
I am trying to write save as dialog with javascript, I have a content of data, and I want to allow the user to save it,
private void button1_Click(object sender, EventArgs e) { new System.Threading.Thread(delegate() { Export();
whats wrong with my code. when it trie开发者_高级运维s to overwrite an existing .xps file, error pops.
I have a little piece of code that seems to be a textbook example of saving files from Silverlight 4.0, but it doesn\'t seem to work.
I have a \"save\" button so when users click, it will do a saving of xml file(xml serialization). A savefiledialog is used here and when i press cancel without selecting any file an \"Argument Excepti
I\'m opening a SaveFileDialog with an initial directory based on a user-defined path. I want make sure this path is valid before passing it in and opening the dialog. Right now I\'ve got this: