Questions tagged [savefiledialog]

The SaveFileDialog is a (component) class in the .NET Framework that prompts the user to select a location for saving a file.

The SaveFileDialog component allows users to browse the file system and select files to be saved. The dialog box returns the path and name of the file the user has selected in the dialog box. However, you must write the code to actually write the files to disk.

654 questions
-2
votes
1 answer

SaveFileDialog existing file

I am using the savefiledialog in C# and I am allowing the user to save an xml node to a file however if the user chooses to create a new file and save the node in it, it works but when the user chooses to save to an existing file then it is…
-3
votes
2 answers

I want to save a video come from camera as mp4 on wpf

I am trying to save the image from the camera as mp4(etc) on WPF application. But so far I have not been successful. Thanks for your help.
-3
votes
1 answer

How to display FileName in a label

I am trying to do a 'save file' browser. I want the selected Filename input by user to be displayed in a label instead of a textbox. I did a similar one for my 'open file' browser and it worked well. Please show me where I went wrong,…
Firzanah
  • 43
  • 2
  • 12
-3
votes
1 answer

How to debug hanging SaveFileDialog

Several users of my VSTO add-ins report hangs that occur when a "Save as" dialog should be displayed. This happens with an Excel add-in as well as a Word add-in. Interestingly, both applications also tend to hang when invoking the "Save as" command…
bovender
  • 1,838
  • 15
  • 31
-3
votes
1 answer

c# savefiledialog lock to particular directory?

How to save files to a particular directory using Savefiledialog in c#. The path user should not change the directory when savefile dialog is opened.
jammulak
  • 65
  • 4
-4
votes
2 answers

Is there any way to detect Ctrl + S?

I need to write a page which does not allow the user to see the code. To catch the context menu open I want to use the JS event. To catch web-console open I want to use this: https://sindresorhus.com/devtools-detect/ and close the page. How to catch…
lith.al
  • 93
  • 3
-4
votes
1 answer

Saving Word doc in Vb.net

I am very new to Vb and I got faced with an issue when saving text from a text box into a word doc. The document saves fine wherever I want it to save but when I open it pops up with This is the code for the save Private Sub BtnSave_Click(sender As…
MADTINGS
  • 1
  • 2
-4
votes
1 answer

How to hide savefiledialog box c#

I want to save my pictures in silent. I mean without showing the save file box here is save picture code. string path = textBox1.Text.ToString(); SaveFileDialog saveFileDialog1 = new SaveFileDialog(); saveFileDialog1.Filter =…
-4
votes
1 answer

Saving to a specific file format with SaveFileDialog in C#

I'm using a picture box to edit an image, and a file save dialog to save the image. The problem I'm having is that regardless of the file format I select, the file is saved as a bitmap. I did some research here and tried making some changes, but…
AARRGGHHH
  • 127
  • 4
  • 9
1 2 3
43
44