Questions tagged [save-as]

This tag refers to a common UI prompt type that asks a user under what name they wish to save a file as.

Use this tag for questions related to building or using such a prompt.

514 questions
2
votes
0 answers

Wait for HttpPostedBaseFile SaveAs to complete

I want to wait for SaveAs to complete before continuing, I've tried a few different solutions but it still just continues immediately, not waiting for the upload to complete. What I've tried: Creating a wrapping function to return an int (this is…
kgst
  • 243
  • 1
  • 2
  • 13
2
votes
0 answers

Show the SaveAs Dialog Box when Save button is clicked using Angularjs

I want to save my data on my local drive but I first want to open the saveAs dialog box. How can I do that? Im using AngularJS This is the code that I have
bleyk
  • 799
  • 3
  • 14
  • 41
2
votes
1 answer

Save as blob takes too long to download the file from given url

I have written the following service to save file from given URL. (function() { angular.module('SOME_APP') .service("downloadService", downloadService); function downloadService($http){ var downloadFileFromUrl =…
Shrinivas
  • 824
  • 4
  • 12
  • 26
2
votes
1 answer

excel vba copy data range, open new xlsx file rename sheet and save

I'm trying to clean up a bit of code and I was hoping SO could come to my rescue once again. I need to copy a range, open a new workbook with only one tab called "project code - Labels" (project code found in labels sheet cell A2 or A2 of new…
Alberto Brown
  • 345
  • 1
  • 7
  • 24
2
votes
1 answer

Why this strange behavior in google chrome and IE?

I am using fpdf library and generating pdfs... What happens when i click ExportToPdf button in firefox it opens the Save as dialogbox but google chrome and IE just opens the pdf file in browser, the save as doesn't seem to open it... Why this…
bala3569
  • 10,832
  • 28
  • 102
  • 146
2
votes
0 answers

Is it possible to do a SaveAs of specific extensions using the Interface SaveAsCapable in Netbeans

I am trying to port a java application into a netbeans platform application. While trying to port the SaveAs action using the Interface SaveAsCapable, I found that there is no way to specify the extensions that I want to use to save the file. The…
Camilo Guevara
  • 165
  • 1
  • 12
2
votes
4 answers

Save As... dialog box in HTA

I have an HTA file and I would like to make a function that saves a file. Is there any way in HTML, JavaScript or VBScript to open a Save As... dialog box so that the user can choose where and under what name they want to save the file?
Donald Duck
  • 8,409
  • 22
  • 75
  • 99
2
votes
1 answer

Java "Save" vs "Save As" Strategies

I am building a basic paint application and have implemented Open and Save functionality, however, I would like to add in "Save As." Essentially, Save As would always make use of JFileChooser, but Save would automatically write to file if a file…
motifesta
  • 49
  • 7
2
votes
1 answer

Save as an Excel file embedded in another Excel file

I want to manage with VBA an Excel file embedded in another Excel file. I can find many results with .docx documents, but I stuck with a .xlsx one. My last try is using OLE objects, but stuck at the line "SaveAs" (Error 1004). Here is the weird…
Bitoubi
  • 116
  • 8
2
votes
0 answers

Saving web page as PDF with page title as a 'File name' in IE10

I am using System dialog print option to save the web page as PDF using PDF-Xchange Printer 2012. When the 'Save As' dialog opened, the 'File name' is Scrum Master - Login.pdf (page title) in Chrome/Firefox. Screenshot But in IE10 the 'File name' is…
2
votes
3 answers

VBA Save As Current Filename +01

I'm looking to write a macro to save my current version filename +1 instance of the version. For each new day the version would reset to v01. Ex. Current = DailySheet_20150221v01; Save As = DailySheet_20150221v02; Next Day =…
PlainsWind
  • 45
  • 1
  • 10
2
votes
2 answers

Save images in a loop with variable file names?

I have a loop as such: for n = 1:6 figure plot() saveas(gcf,'figure', 'jpeg') end This however just keeps saving the figures over each other since they all have the same name. What I need is to make it so the name is 'figure_n' where n is the…
Prefoninsane
  • 103
  • 1
  • 11
2
votes
1 answer

An invalid handle error when using hgexport and saveas in Matlab

I'm trying to write a code in Matlab that will generate a plot into a figure and then save or export the figure into my directory. The code I used is as follow: h =…
2
votes
1 answer

iTextSharp `save as` to save to a user defined location

I have used a YouTube video to learn how to implement a button on my .net c# that converts text to PDF. This works totally fine but it saves to a pre-defined location specified in one of the lines in the code. PdfWriter wri =…
2
votes
2 answers

How to force the proper file extension in the "save as" dialog? (.jpg instead of .php)

To password protect the website images, I access them through PHP. Intead of using the url "meme_penguin.jpg" I use "image.php?file=penguin". This works great for displaying it, except when the user try to "save as". In chrome the "save as"…
Calvin
  • 194
  • 17