delete

Flash Gradient Marker Questoin

Hey there, I was wondering in flash how to delete gradient markers. For example, when I am working on a gradient in the color window, and hover my mouse over a marker, a plus sign appears and if you click it, another marker surfaces. Now when I open up a new file and use the gradient tool, it saved all of the markers I created How do I ...

How to I restore deleted UIKit.framework and Foundation.framework and others

I deleted UIKit.framework and Foundation.framework in an xcode project my accident. I cant find the framework in the target information (general tab) link libraries section. How could I add them to the project again as i am now getting many many many errors!! ...

Delete Email on Server using javax.mail

Hi all, i am receiving emails from the server using the IMAP protocol like it is described here. This is working very fine and i can store the emails and attachments on the disk. Question: Do i have the possibility to delete files from the Server, so that they are no longer available, when a client tries to receive all emails? if so, p...

DeleteOnNull Error

I've got a set of DB objects sitting in an EntitySet on my main object definition. This handles additions and updates fine, but I found the removing items from the list didn't result in the database records being deleted, so I had to create a method in the data repository object to delete the records as the data object doesn't have acce...

Any benefit to deleting a soft-deleted row in MySQL?

I have a table in MySQL dB that records when a person clicks on certain navigation tabs. Each time it will soft-delete the last entry and insert a new one. The reason for soft-delete is for analytics purposes, so I can track over time where/when/what users are clicking. The ratio of soft-deletes to new entries are 9:1, and the table size...

How to remove an element's content with JQuery?

Say I have a div and some content inside it. <div> Content </div> With JQuery, how do I empty the div without removing the div, only the content inside? ...

How to remove registry value and key from registry entry

Hi, I already setting key and value in the registry entry by using RegSetValueExA, and it's created . But Now I want to delete that key and value from registry entry and for that I am using RegDeleteKey but its giving error 2 which is "The system cannot find the file specified.", can you tell me how can I solve this. Thanks, Kamal Kuma...

What is the accepted method to delete records referenced by a junction/join table?

I have three tables as follows (please forgive the loose syntax), with NO cascading relationships (I do not want this, as the database is primarily managed by NHibernate). Invoice ( entity_id int not null, ... ) Ticket ( entity_id int not null, ... ) InvoiceTicket ( InvoiceId --> Not-null foreign key to Invoice.ent...

ms access Add, Edit, Delete Items through an Access form

I'm not real familiar with inputting data through forms. Up until now I've just been handling the data from the table. However, now I have a table with two pieces of information: Group ID Each ID is in a group, not all IDs are represented in the table (ie there is another table with a complete list of IDs...many to one), and multiple...

replace/delete field using sqlalchemy

Two part question. Using postgres in python. 1) How do I replace all fields from the same column that match a specified value? For example, let's say I want to replace any fields that match "green" with "red" in the "Color" column. 2) How to delete all fields from the same column that match a specified value? For example, I'm trying to...

DataTable Rows.IndexOf()

I am trying to find a row and then delete that row from a datatable. I keep getting nIndex = -1. Anyone have suggestions? protected void cbxSelected_CheckedChanged(object sender, EventArgs e) { CheckBox checkbox = (CheckBox)sender; GridViewRow row = (GridViewRow)checkbox.NamingContainer; string sSampleId = row.Cells[1].Text; if (!s...

selenium: delete all visible cookies raises an exception

I am using selenium with a python client. When doing selenium.delete_all_visible_cookies I get the exception: ERROR: Command execution failure. Please search the forum at http://clearspace.openqa.org for error details from the log window. The error message is: malformed URI sequence The log window's error is: error(125...

How to determine that a file is in use before deletion?

I'm writing a windows service that might delete a file at some point. Because the service is dealing with regular file IO it's possible that a file can be in use during deletion. Currently I'm trying to delete and react later when an exception happens. Code looks something like this: try { File.Delete(file); ...

SQL DELETE falling over in PHPmyAdmin Cant work out Why, is it because of LEFT OUTER JOIN

SELECT * FROM `User` LEFT OUTER JOIN `freshersdata` ON `User`.`username`=`freshersdata`.`username` WHERE (`freshersdata`.`username` IS null) AND (`User`.`Persistent`!=1) This SQL query is falling over with ( #1064 - You have an error in your SQL syntax; ) message but works perfecly with a SELECT instead of a delete, why is th...

What is the fastest way to delete massive numbers of records in SQL?

Possible Duplicate: What is the best way to delete a large number of records in t-sql? What is the fastest way to delete massive numbers (billions) of records in SQL? I want to delete all the records that match a simple rule like myFlag = 3. Is it possible to add a WHERE clause to a TRUNCATE? Another solution that could be po...

DB down on executing delete query

Hi All, Is there a possibility that a simple delete query can bring down a DB? We executed a delete query (single row deletion) and that query hung. When multiple people tried executing the same delete again, the Oracle DB is down. Multiple tables reference this table and a cascade delete was not used. Should a cascade delete have bee...

SQL Mass deletes

I'm trying to shrink some databases down so that my developers can load them to their local machines. I've identified several tables that hold historical data (10+ years worth) that would dramatically reduce the overall database size (50% or more) if I remove records older than X days. The delete statement that I'm using is demonstrate...

DataTable Cancel Row Delete

Hi, I have a windows form which has a DataGrid control (Not DataGridView) on it. The DataGrid control is bound ot to a DataTable. Everytime the user presses delete button on one of the rows on the grid, I want to check a condition and stop the row from being deleted if the condition is false. I have subscribed to the RowDeleting ev...

How to delete resource entry from resx in C# programmatically?

Hey, i know how to retrieve and create resource entries in an .resx file programmatically. I am using the ResourceWriter and the ResourceReader for that approach. But now i want to clean up several items in my .resx file, and want to delete them. How can i achieve that? Greetings chrsk ...

ms access can't edit field because I must delete relationships but there are no relationships to delete

I have built a database on multiple tables. One of these tables has a field (Initials) that was originally defined to have 50 characters. After building the entire thing I realize I would have liked that field to be limited to 3 characters. I tried to change this, but it tells me that I have to delete one or more relationships. So, I...