I still remember in Delphi, developer can just make the UI(textbox, listbox...) directly connect to database, and then when user click a button, just call the post action, then the data will be saved automatically.
What I want to know is that is there any similar mechanism in MFC? Or I can use GetDlgItem(...).Text and then use this v...
After struggling with this for hours, I think I've finally developed a solution to the following problem. I have the code here: http://pastie.org/767503 . What I am doing is allowing for classic http modification of a logic expression like
(OR (AND ItemsFromCollectionPredicate) (AND TruePredicate))
which is the params hash below
"co...
The two major form autosave implementations I can think of are either based on cookies, or based on periodic ajax updates to the server.
I'm trying to decide which is a better option.
The advantage of cookies is that it's not server intensive, and with some good code can be implemented to not pollute the user's cookies.
The server upd...
When I ran the Inline and Extract Local Variable refactorings, Eclipse saved my file immediately after. Also, Undoing/Redoing these refactorings resaved the file each time. How can I disable this behavior?
Secondary question: Running Extract Method didn’t automatically save the file. Why the inconsistent behavior?
...
How to tell Xcode to save the source code automatically without prompting, each time I hit on the build and run?
thanks in advance
...
som = SOM_CLASS() # includes many big difficult data structures
som.hard_work()
som.save_to_disk(filename)
#then later or another program
som = SOM_CLASS()
som.read_from_file(filename)
som.do_anythink_else()
or
som = SOM_CLASS()
save(som)
#...
load(som)
som.work()
what is easiest way to do this?
...
My client likes programs like Microsoft OneNote where changes are saved automatically, and he can choose to discard when he explicitly wants to do so. I will have to implement some undo functionality, but I'll figure that out some other time.
With NHibernate, I suppose I can call ISession.Update on every single property / binding change...
I'm using localstorage to do gmail-style autosave on a webpage.
So I basically save every 30 seconds to local, OK.
The problem is recovery. I can't detect whether or not a user has crashed or incorrectly exited.
So let's say the user crashed and loads up the form again, I can't just continue saving and overwriting the previous autosa...
Hi,
I have been asked to write to save the data in some secure place after certain task is completed by a client.
Here my client has alot of staffs who makes data entry in online forms provided by some different vendors. After some steps the entered data generates some results. i.e after submitting the web form. Now he wants the genera...
how could i implement autosave in C#? i felt that saving to the currently open file is a simple but i may not want to overwrite my previous file (or should i just do that? i think google docs saves/overwrite the document tho they have version control?). i thought of saving to another file, but where do i save to?
also i guess i will ha...
I'm trying to save a workbook that has been modified automatically. Here is an example:
import excel.*;
import com4j.Variant;
import static com4j.Variant.MISSING;
public class ExcelDemo {
public static void main(String[] args) {
_Application app = excel.ClassFactory.createApplication();
app.visible(0,false);
//Varian...
NetBeans 6.9.1 is the first version I've used that is only mostly stable (x86-64 Linux box). I find that I am missing the "restore" features found in word processors and web browsers--upon a crash, you only lose a small amount of unsaved work. Is there anything like this available for NetBeans?
These are workarounds that I do not cons...
He is there a function or setting which automaticly save's the form's data when a user forgot to press save? Like Word has?
...