|
I'm creating a richtextbox editor and need to put a save function as well as a save as. I can easily do a save as function by using the savefiledialog but im not sure how to save without this. Can anyone help?
Started by Pops on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Create a field somewhere, say string filename a document is saved....
If no file has been specified, then show the Save As.
Then, when they use the Save function, simply save to the file name that was previously specified.
|
|
I have to save about 1000 different csv files and every time i click file save as, it goes to some default directory.
is there anyway it can default to remember the directory that i saved the last file into?
Started by oo on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
You can try adding registry setting...) add a dword value named AlwaysSaveToCurrentPath and set it to 0 This should make "Save As" use using "Save As".
Remember the last Save As location, until I exit Excel.
|
|
I have program that saves unique images that are related to unique database fields to database as binary fields or save in folders as image files?
Started by newbie on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If not, better save the images as files and organize meta data and path.
Or something like Amazon S3.
|
Ask your Facebook Friends
|
Hi,
How do we save file locally in Flash (ActionScript 3) without displaying dialog.
I know we can use the following code to save file locally but it prompts Save dialog. I don't want this dialog while saving file locally.
var fs: FileReference = New ...
Started by simon on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
But you can save smaller amounts of data.
You can't save a file without user dialog.
|
|
Steps to reproduce:
Create Word 2007 Template Project (Visual Studio 2008 Professional SP1) Place DateContentControl on document Save, Publish, open .dotx Modify DateContentControl, Save Click No, Close Word Open Saved document, Modify DateContentControl...
Started by Mike Regan on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
To avoid such a prompt you could set the Saved property of the attached templated.
To save the changes.
|
|
I am working on a GUI (OpenG Builder), and want to merge the Save and Save As button into one button. Does anyone have an idea how to perform such an act?
My thoughts go to a 'hot spot' for 'save as' on the right side of the button, indicated by a glyph...
Started by Ton on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
Clicking the "Save" button would just save, while clicking the arrow would bring up choices (....
What about a Save button with a dropdown menu attached to it, similar to the way that the old Back the arrow to go back multiple pages.
|
|
There are situations where I opened up a photo or graphics file, and made 81 modifications to it (crop, adjust color, brightness, contrast, etc, etc), and when I am ok with that file, I use
File -> Save As
to save the file as a new file. But since ...
Started by Jian Lin on
, 9 posts
by 8 people.
Answer Snippets (Read the full thread at superuser):
Then when you come to save you should at least get a warning that the file is read only which will remind you to use save from the start that you are going....
Of the routine you use when you upload from your camera it shouldn't be too onerous .
|
|
I have two domain classes - Person has many Books. If I create a Person, call save(), then create+add Books to the Person, everything is persisted to the database. If I create a Person, then create+add Books, followed by save(), nothing get persisted....
Started by Steve Kuo on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I don't know for sure but I presume it's because save() sets the ID of the Person which would.
|
|
I'm making an encyclopedia program of sorts similar to RAWR for World of Warcraft. I'm not going to be saving data de an SQL database, but I've been conditioned so hard to always do this when I'm sure there are alternatives for these lighter case uses...
Started by John McClane on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
If you store it....
Either xml or binary files would be my suggestions
What's wrong with a database for static data? No data is static, with a DB your administrative/design program for creating the data package will be much easier if you used at database .
|
|
Function mycart($mydate=null,$day=null) { $mycart= $this->session->userdata('mycart'); $totalprice=$this->session->userdata('totalprice'); if($this->limitation($mydate) && (!(isset($mycart[$mydate]))) ) { $mycart[$mydate] = array( 'meal...
Started by nupura on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You need to use a multidimensional array in this case, i.e.:
$mycart[$mydate][] = array( 'meal' =>$this->session... .
If you have two carts with the same $mydate value, the latter will override the first value .
Perhaps your issue is with your array itself.
|