saving

How do I get the non-maximised window size of a form?

I'm trying to save my the state of a System::Windows::Forms::Form when my application shuts down. I can record the window's size, position and window state without any issues but if the window was maximised when it was closed the ::Size member records the maximised size of the window. Is there any way to record the non-maximised size or...

c# SharpSVN, how does one get a copy of specific revision files?

Hello, I was looking for something in SharpSVN that will do the equivalent of "Save revision to..." in the TurtoiseSVN GUI. I have been trying to find out how to do this with no luck. Currently I am looking at: Note: logentry is a SvnLogEventArgs after I called client.GetLog(uri, arguments, out logitems); foreach (SvnChangeItem svnChang...

Saving Multiple Images in a Single File

In my program i want the user to be able to take some images from a directory, and save them under a single file, that can be transferred to another computer possibly, and actually read and displayed(using the same program). How would i go about doing this, especially if i want to save other data along with it, perhaps objects and such....

Loading saved objects from disk is slow in Matlab

I have created a monster, or at least a lot of MATLAB handle classes that point to each other. For instance, an experiment (handle) is a set of tracks (handles) which contain runs (handle) and reorientations (handle). Then the tracks point pack to the experiment that contains them, the runs and reorientations point back to the track th...

Do I need more than one persistant store?

Hello everyone, Im trying to create a listing app that is core data backed.The first page lets you create as many list as you want and name them. By tapping on a name in the first view, you will be taken to that actual list where you can create the items in that list. However if I create 3 lists they each have the same data. Do I need a...

iPhone Objective C - Saving Data

I have a NSMutableArray of some instances of a custom class (it has a NSString, CGPoint, and a UILabel). I need to save this array. I tried using writeToFile:Atomically: but that doesn't work with custom classes (I think). Is there any other simple way to save that? And how would i load it? Thanks everybody in advance:) Any ideas, sugg...

Visual Studio DataSet Designer Saving is VERY slow

Hi, workig with Visual Studio 2008 DataSet Designer has become a pain in the a*s. I have a quite big dataset (>50 Tables) and saving chages takes A LOT of time (I am talking here about 10-15 minutes!). It cannot be a hardware issue since I have an Intel i7, 8 GB RAM and 7200rpm HDD. Has anyone an idea? (This "bug" occurs on every PC wor...

associated folder when saving an html file

When you save an html file "completely"(as opposite to "just html"), the html file and an associated resource folder will be saved. The interesting thing is that when you delete the html file, the folder will be deleted automatically. The folder must not be some ordinary folder. What is it called and is it possible to do this programmat...

Please help with Picture saving problem in iPhone 4 or iOS 4

Dear all,     Our team got some very strange problem and we have been try to solve it for a while, however, we cannot get it done, we hope somebody here can share of of your talents to help us. The problem is, we have a photography app, which works in iPhone 3G and iPhone 3Gs, however, for quite a few iPhone 4 users (Not every one, for ...

Logging in a text file iPhone

Hi, I have a score system and I would like to log all scores in a text file separated by line breaks. Here is my current save code: NSData *dataToWrite = [[NSString stringWithFormat:@"String to write ID:%i \n",random] dataUsingEncoding:NSUTF8StringEncoding]; NSString *docsDirectory = [NSSearchPathForDirectoriesInDomains(NSDocumentDir...

Saving in pygtk

Im writing an app using pygtk and i was wondering how would my app be able to save data on the users computer. I plan go distribute this across windows and unix. What would be the best way to go about this? ...

WPF: Saving a TransformedBitmap Object to disk.

Working in WPF and C#, I have a TransformedBitmap object that I either 1) Need to save to disk as a bitmap type of file (ideally, I'll allow users to choose whether it's saved as a BMP, JPG, TIF, etc, though, I'm not to that stage yet...), or 2) Need to convert to a BitmapImage object as I know how to get a byte[] from a BitmapImage obje...

NHibernate check for changed to prompt for save

I was wondering if there is any sort of functionality in NHibernate to check if changes have been made to an object sense it has been loaded that would require a write to the DB to save. I have some other pieces like currently selected elements and so forth that may change but if they do it makes no difference in terms of actual data. ...

saving running instance in netbeans

I've created a application in Netbeans IDE 6.9. I want to save my running application. I actually select various things in my applications. I want that if I run my application again then those things should be selected. I want to save the running instance of my application. Can anyone help me with this? -Thanks in advance ...

Drupal location CCK field does not save.

Hi! I have installed Location, GMAP, GMAP Location and Location CCK modules. I needed Location CCK because I could not force ordinary location to show in specific field group. It looks like it is attached statically to the main group (I have defined field groups as a tabs and do not want to show location information on the main tab). A...

In need of some code for the iphone SDK (Save an in app picture to your photos)

Im working on my first app for the apple app store and I am in need of the code to be able to see a picture and save it to the photos, also where the code goes, so some what of a tutorial of how to save a picture to the photos app, I am working with the latest version of the iphone SDK. ...

Exit button, without saving to database when items have already been added

I do not have any code to show, but using asp.net, vb.net, and SQL with stored procedures. If on a page I have an item that is added to the database and therefore that information is "saved", is there a way to have an ("exit without saving") button on the page that does away with those changes? Using infragisitcs ultrawebgrid, you add ...