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
4
votes
2 answers

Download file with CGI C++

I have one page that shows links, and I have some text data. How can I make using C++ CGI that by clicking on hyperlink "Save As" dialog will appear and certain amount of my text will be saved with user-defined path and name to the file on the users…
HelloHi
  • 165
  • 2
  • 10
3
votes
0 answers

Save 3D plot in the correct position in python

I am trying to export my surface plot into a .png file. For some reason, the saving plot does not correspond to the 3D orientation of the plot showed in spyder. Here is my code: import csv import matplotlib.pyplot as plt from matplotlib import…
WNSL
  • 31
  • 2
3
votes
3 answers

downloadFile with "save as"

I need to write a process to download an html file locally in my vb.net web app. I am currently using webClient.DownloadFile : Dim myWebClient As New System.Net.WebClient myWebClient.DownloadFile("http://archive.ncsa.illinois.edu/primer.html",…
Urbycoz
  • 7,247
  • 20
  • 70
  • 108
3
votes
1 answer

Django ModelForm: How to override or check for "save_as"

I need to add some customizations for the case that a instance in Django Admin is "saved_as" a copy. Can I do that in save(), if so how do I check for the save_as kwarg? Or is there a save_as() method I can override somewhere. I was not able to find…
user640916
  • 33
  • 3
3
votes
1 answer

VBA - What happens to the Object of a Workbook after Save As?

I'm working on a Macro and want to know about this to avoid any bugs or crashes. Scenario: I have a file which does all the processing (Macro File). My code opens a pre-existing excel (Template) file then writes some things into it and then Save…
Sandeepr
  • 79
  • 7
3
votes
4 answers

Unable to save R script as an R file

When trying to save a script as an R file, I am not able to. The save as window opens, but the 'save as type' bar below the 'file name' bar is blocked/greyed-out. I am, however, able to save the script as an unreadable file. When I open it again to…
altfi_SU
  • 584
  • 1
  • 3
  • 15
3
votes
1 answer

Macro to save only the active worksheet

In the below code it saves the complete workbook. I want to save only the active worksheet. Sub sbVBS_To_SAVE_ActiveWorkbook() ActiveWorkbook.Save End Sub
user7444699
3
votes
3 answers

header for excel file save as

im able to output an excel file by php and it opens correctly in excel. No problems there. When the user clicsk save as in Excel it comes with first option .txt How can i set the header so first option will .xls with save as. Headers im using now :…
Grumpy
  • 2,140
  • 1
  • 25
  • 38
3
votes
1 answer

Javascript window.onsave event

Is there a way to detect/intercept when the user tries to save the page? This would allow me to embed any external files properly and provide the user with a fully-functional offline app. The other solution is embedding those resources from the…
Zyox
  • 71
  • 1
  • 6
3
votes
2 answers

Matlab save individual subplot as jpg

In a for loop, I create a variable number of subplots that are displayed on a single figure. Can I also save each subplot as a separate, full size plot and image file (preferably JPG)?
user1502755
  • 51
  • 1
  • 4
3
votes
3 answers

Powershell - SaveAs function when file already exists

I'm trying to run some code that looks for all .doc & .docx files in a directory & sub-directories and then converts each one to PDF format. The code below works only if there are no instances of the pdf in these directories i.e. it only works…
SuperSub
  • 87
  • 1
  • 2
  • 7
2
votes
1 answer

save contents of a textarea to a text file in php

I want to save the contents of a textarea to a text file in my computer after clicking Save button. My code works but the HTML code is also included in the text file. Here is my code: if(isset($_POST['submit_save'])) { $file = "output.txt"; $output…
anyadit
  • 23
  • 1
  • 4
2
votes
0 answers

How to detect available disk space when saving a file in browser

I have implemented a screen recording feature into our webrtc conferencing app. (Normal MediaRecorder API) I am using FileSaver.js to save the recordings. Everything is working just fine. I was presented with a problem today! What if user's HDD is…
Exlord
  • 5,009
  • 4
  • 31
  • 51
2
votes
0 answers

Plotly R: save an image as svg or tiff

I would like to save my plot as .svg or .tiff but as much as I have tried to save it checking several questions, I have not succeeded. The plot is a 3D surface and here is the code. EjeX <- Table$Col1 EjeY <- Table$Col2 EjeZ <- as.matrix(Conc) Fig1…
Esther
  • 21
  • 1
2
votes
1 answer

How save excel 2007 in html format using powershell?

Hello i tried with that code $e = New-Object -ComObject "Excel.Application" $e.Visible = $true $ew = $e.Workbooks.Open("C:\Users\mich\14_50_33__5_Pt_50_sie_2011.xls") $ew.SaveAs("C:\Users\mich\Documents\test", "Excel.XlFileFormat.xlHtml") What do…
deadfish
  • 11,996
  • 12
  • 87
  • 136