Questions tagged [save-dialog]

24 questions
20
votes
1 answer

Ask user where to save file with Node.js

I'm creating an app using node-webkit, so there's a lot of javascript. I have written a node.js function that will take a screen shot and save it to the disk, however, it saves it to the project root dir and I would like to prompt the user to…
Jake Sellers
  • 2,350
  • 2
  • 21
  • 40
7
votes
1 answer

gdip image save directly intptr in my local drive

I have this code to get the image file from the scanner and save it on local disk: IntPtr img = (IntPtr)pics[i]; SetStyle(ControlStyles.DoubleBuffer, false); …
Ehsan Akbar
  • 6,977
  • 19
  • 96
  • 180
6
votes
5 answers

Save dialog box to download file, Saving file from ASP.NET server to the client

I've been searching around the internet, but couldn't find any useful answer. I have an ASP.NET web site, which is deployed on server. The ASP.NET web site on the server can access a directory called W:/ . The clients in the company can access the…
user1734609
  • 111
  • 1
  • 1
  • 5
5
votes
2 answers

TSaveDialog and 2 formats with same extension

In TSaveDialog I added 2 formats with the same extension: Format A|*.form Format B|*.form Format C|*.diff Now I want to identify which format user chose: var Ext: String; begin if not SaveDialog1.Execute then Exit; Ext :=…
Tom
  • 2,962
  • 3
  • 39
  • 69
2
votes
3 answers

Is there a SaveAs dialog?

I want to save a mail attachment with a SaveAs file dialog. Is it possible to do this with VBA and Outlook?
loveforvdubs
  • 337
  • 4
  • 6
  • 9
1
vote
2 answers

Display Save File Dialog for a string ASP.NET C#?

I am generating a string, which right after generating I want to display a save dialog to allow this to be saved to the user's local machine. I don't want to save it to a file on the server, just have the user save it then clear out the string. Is…
Drew
  • 2,601
  • 6
  • 42
  • 65
1
vote
1 answer

TFileSaveDialog - fdoCreatePrompt not showing a prompt?

I put a TFileSaveDialog on a form in C++ Builder and set the options fdoOverWritePrompt, fdoStrictFileTypes, fdoPathMustExist, and fdoCreatePrompt. When the dialog opens and I select an existing file, it prompts if I want to overwrite like it…
user3161924
  • 1,849
  • 18
  • 33
1
vote
1 answer

How to save the textarea value with a save-button?

I need help with some text blocks that have to be able to be saved and loaded again by choice in a dropdown menu. I've tried it with JS but somehow it doesn't go. What to do? I've tried it with JS but somehow it doesn't go. var firstTemplate =…
Pe Ter
  • 11
  • 2
1
vote
1 answer

How to prevent the Overwrite Prompt while saving in custome IFileDialoge - VC++

I don't want to display any overwrite prompt while user enter the file name which is already exist in my custom IFileDialog. I have already gone throw IFileDialog::SetOptions method but it dint solve my problem. FOS_OVERWRITEPROMPT (0x00000002) :…
AB Bolim
  • 1,997
  • 2
  • 23
  • 47
1
vote
0 answers

How to get folder path of SaveDialog when that dialog appers for first time, before the file is saved?

When SaveDialog pops up first time and when FileName is '', and initial directory is not set, how to get directory path?
Srdjan Vukmirica
  • 743
  • 2
  • 8
  • 22
1
vote
2 answers

Applescript Change To Folder Save Dialog

I'm trying to automate opening and saving a file in applescript. I can't seem to get consistent results with the save dialog though. Is it possible to change a save dialog to a specific folder in applescript?
nothappybob
  • 3,097
  • 4
  • 16
  • 15
1
vote
2 answers

Dialog Save at android, startup

I'm trying to make a webview application, and I'm stuck somewhere. When I start the application first time (for installation) it should ask a question, like: Have you read the terms of service? Yes No If I choose "Yes", the app should remember it,…
Tirolel
  • 928
  • 3
  • 17
  • 43
0
votes
1 answer

Save Dialog in Delphi, Data are in a different partition

Testing my little application, I met a problem with Save dialog in Delphi. Normally Save Dialog appears ( I save image file otherwise), but yesterday I tested my app on a computer where all Data were in another partition - in (D:) directory –…
Andras Kelemen
  • 161
  • 1
  • 1
  • 5
0
votes
1 answer

silent savedialog

Is there a way to execute saveDialog, silently , meaning, not asking the user to specify file name? Its intended for existing code automation. lets assume we cannot use different saveDialog Object.
none
  • 4,669
  • 14
  • 62
  • 102
0
votes
1 answer

How to make a c# console app .exe to open a save dialog to save a file generated by the app?

My code: static void Main(string[] args) { string filePath = "./MOCK_DATA.json"; List datas = JsonConvert.DeserializeObject>(File.ReadAllText(filePath)); int count =…
Mulholland
  • 33
  • 4
1
2