save

Save XAML file in database.

Hi, I have a Silverlight application in witch i can create presentation slides(like in PowerPoint), and i whant to save this slides(XAML and .cs files) in database or somwhere else, where i can be able to load and to use them. Regard, Andrei. ...

allowing anonymous user to save contents of a form in sharepoint doc library

I have moss 2007 configured for anonymous access. I also have a public accessible form created in infopath, which can be opened in a webpage and filled and submitted. However, an anonymous user is unable to submit the form after filling it. Submit action is supposed to save the form in a doucment library. I checked the anonymous permiss...

Save csv as attachment file a PHP+Apache setup not working

I have a interesting problem that I think is server related. I want CSV data to be saved as a CSV file when a user clicks a button. It works fine on my development server, but on the production it just echo's the content to the page. My guess is that it must be a server issue, but I'm really not sure what it could be. Can GZIP affect...

How to force save as dialog box in firefox besides changing headers?

Is there a way to force a save as dialog box for www.example.com/example.pdf in ff? (i can't change the headers) ...

How do I get the coordinate position after using jQuery drag and drop?

How do I get the coordinate position after using jQuery drag and drop? I want to save the coordinate to a database, so that next time I visit, the item will be in that position. For example, x: 520px, y: 300px? EDIT: I am PHP and mysql programmer :) Is there any tutorial out there? ...

Saving XML stream in C# says that it's being used by another process

I have this open-source library that I'm having some trouble fixing a problem... This library allows to easily create an XML file to store application settings. But I'm having an issue saving the changes. I have another application where I'm using this library and every time that application window is done resizing, I call the Save() me...

Does XDocument.Save(string filename) resave the whole file or just changes?

Basically if I do Xdoc.Load(filename), do some changes then do Xdoc.Save(filename) does it only save things that changed such as inserted or removed elements, etc, or does it resave everything? Depending on the answer I'm thinking of determining whether my app is going to save per-change or save on explicit save and on exit. Also consi...

Saving a child window saves the parent window instead (Javascript)

Hello All, I have a bit of Javascript code that creates a "save friendly" version of a webpage. child = window.open("","child"); child.document.write(htmlPage); "htmlPage" is the basic html of the page with all the javascript references taken out, a different set of header images references, etc. Everything displays perfect...

jquery save element positions (serialize?)

Hello. How do I save elements positions in a div? Do i use serialize and if yes how do I do it? I have this div: <div id="produtlist"> <img id="productid_10" src="images/pic10.jpg" class="sortableproduct" alt="" title="" /> <img id="productid_11" src="images/image1.jpg" class="sortableproduct" alt="" title="" /> <img id="...

call and save contact in j2me

Hi all, I am doing a program using j2me and the last window in the program has a form contains name of the place, number and location. I want to know: 1) if there is any way to call for the number which appears in the window? 2) if there is any way to save the information ( name and number) in the contact? any tutorials or examples a...

Django model custom save with ManyToManyField problem

I know this question has been posted multiple times but I still couldn't find a definite answer to this problem. So, here I go: class Invoice(models.Model): program = models.ForeignKey(Program) customer = models.ForeignKey(Customer, related_name='invoices') participants = models.ManyToManyField(Participant, related_name='par...

finished iPhone app: add a new feature. record system sound and then be able to playback

i have just created a drum app. The user taps on the individual buttons which triggers a short sound to play using the systemsound from AudioToolbox. I now would like to add a UIButton which says "record", and upon click, will record all Systemsounds being played, and then when the use presses the stop button; the program should then be...

How to create self contained exe file as output of my application

Hello all im trying to figure away to be able to export/save user ( banch of files/htmls ) to one single self contained exe file . and i have no idea how to do it . i was thinking about using windows gcc port , but its GPL and my app is commercial. how do i approach to solve such thing ? Thanks ...

client system clipboard print screen image save in server system

It is possible the client system clipboard print screen image save in server system using C#. net web application ...

clipboard image directly save to disk somehow on a local or iis

The user would have to press Alt prtScr to save the image to clipboard, then maybe open word (Ctrl V)and get an path to save it to from the submit form page and save the document? or is it possable to save the clipboard image directly to disk somehow on a local or iis? that the database can record the path. remember What I need. A bug s...

clipboard image directly save in to client side using javascript

clipboard image directly save in to client side using javascript, any sample source code? ...

How to store JSON response in jQuery?

Hi guys! I'd like to store my json response in a global variable so, i could use it through my app without making a getJSON request more than once. var data; $.getJSON("panorama.json",function(json){ data = json.images[0].src; console.log(data); }); console.log(data); If I log it in the actual request its fine, but i get "undefi...

How can I write to my own app.config using a strongly typed object?

The following code has two flaws, I can't figure out if they are bugs or by design. From what I have seen it should be possible to write back to the app.config file using the Configuration.Save and according to http://www.codeproject.com/KB/cs/SystemConfiguration.aspx the code should work. The bugs are shown in the source below and appe...

C# : How to save a picturebox control as a jpeg file after it's edited

Hi I have a picture box on my windows forms. I load a picture in it and I have enabled Paint Event on my code.It draws a rectangle. Like this; private void pictureBox1_Paint(object sender, PaintEventArgs e) { Graphics gr = e.Graphics; Pen p = new Pen(Color.Red); p.Width = 5.0f; gr.DrawRectangle(p, 1...

.NET Saving jpeg with the same quality as it was loaded

Hello I have a cannon digital camera and I set it to take pictures with superfine quality and it outputs a .jpg file 3 mega in size. If I load it like this in ASP.NET(this is useful to change it's dpi resolution or crop it or whaterver) imgPicture = Image.FromFile(Config.WorkDirectory + this.TempPhotoName); bmpPicture = new Bitmap(img...