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
0
votes
1 answer

Save .xls file into .txt file in C#.Net

How to save (in fact Save As) .xls file into a text file from C#. I tried File.Copy() but I am unable to see data. I am getting some special characters in the text file. Any help would be appreciated.
Mujeeb
  • 83
  • 4
  • 14
0
votes
1 answer

batch-file incorporate another batch that copies modified files in directory to another directory

Here is what I've come up with, however I can't get the correct reference of xcopy in my code from what Aacini has provided in another post. cmd console will say it cannot find file "!lastName!!baseExt!" and then show that 0 files have been copied.…
cheapkid1
  • 469
  • 7
  • 18
  • 32
0
votes
2 answers

Save as is taking the filename provided, but is changing to null later in the code - which is causing the file never to be created

So, I had a question last time about syntax, and now that the syntax error is fixed, I have a problem that even after my professor looked it over, he doesn't know how to fix. We went through my code line by line, and with the initial save as dialog,…
Heather T
  • 323
  • 1
  • 10
  • 20
0
votes
1 answer

batch-file compare similar filenames in a directory then copy the last modified file and save as to other directory

I have a batch file that will check for updates within a directory then copy any new files or recently modified files to the other selected directory, however I'm unsure how to check the source directory for say two files that have just a revision…
cheapkid1
  • 469
  • 7
  • 18
  • 32
0
votes
3 answers

save datawindow as text in powerbuilder with some additional text

***Process Date From: 01/05/2012 0:00 Group;Member Status:**** Rcp Cd Health Num Rcp Name Rcp Dob 1042231 1 MARIA TOVAR DIAS 14-Feb-05 1042256 2 …
user1788373
  • 39
  • 2
  • 6
0
votes
3 answers

save any image type from a url as jpg

Is it possible to save a url with an image of any type ( it can be jpg, png, gif, etc) as jpg into a folder in php without multiple steps (checking extension, save as same type and convert to jpg)? sample…
aVC
  • 2,254
  • 2
  • 24
  • 46
0
votes
1 answer

Save bar plot in subplot

I want to save my plotted figure in MATLAB to a fig file. Currently I'm using the following code: hf1 =…
archer
  • 21
  • 3
-1
votes
2 answers

Saving a currently opened file without prompts

I am experiencing a problem with saving a currently opened file without it popping up the dialog asking what name to save it under. To clarify myself a little more, I open a .txt file and work with it, then would like to just click 'Save' and it…
Mr Binx
  • 147
  • 1
  • 9
-1
votes
0 answers

How do I Save 256-bmp to 24-bmp using Batch command?

How do I save a directory of .bmp files that are currently 256-BMP into a 24-BMP file? I'm trying to take a 256-BMP file format and save it to a 24-BMP file format. Both Gimp and Paint do this process. I was attempting to use Paint here. I have no…
Lex King
  • 1
  • 2
-1
votes
1 answer

External VBS script to open excel file run macro and save as self

The code keeps producing this error seems to be this line " xlBook.SaveAs Filename:="Template 1", FileFormat:=xlOpenXMLTemplateMacroEnabled " trying to run an external VBS script to open excel file run macro and save as self Option Explicit On…
Yaki Just
  • 1
  • 1
-1
votes
1 answer

Is it possible to save a text after clicking a button on streamlit?

I have b0 = st.button("Hi There", key=0) if b0: st.write("gratitude word") is it possible to save the output of clicking b0? so basically saving the "gratitude word" as CSV, named something like file_one.csv
アルサ
  • 53
  • 5
-1
votes
1 answer

Crash while using Mac save dialog

Our users are experiencing an exception with the following scenario: Save a file under some arbitrary name, e.g. "test1". Open the save dialog to save again (the dialog now suggests "test1" by default). Click "Save", and then "Replace" to overwrite…
gil_mo
  • 575
  • 1
  • 6
  • 27
-1
votes
1 answer

Save current Workbook as separate Excel Workbook via dialog box

I am trying to make a button that would show a save as dialog box and upon saving would save the current workbook as separate Excel Workbook that I enter a filename and location for. What I have so far code wise is: Private Sub…
Eduards
  • 68
  • 2
  • 20
-1
votes
1 answer

Saving Excel file in C:\ using interop.excel throws error

I have a wpf application and I am saving an Excel file using following code. If I select the file path as "C:\" it throws an error. No other file path has this issue. Please help. excelWorkbook.SaveAs(saveAsPath, XlFileFormat.xlWorkbookNormal,…
Relativity
  • 6,690
  • 22
  • 78
  • 128
-1
votes
1 answer

How do I write text to file when user specifies the location in a SaveAsDialog?

I’d like to write text to the file when the User specifies the save location, but this keeps returning an exception about unsupported file path. Where do I find the filepath? private void SaveAs_Click(object sender, System.EventArgs e) { Stream…
KeLorean
  • 3
  • 5