update

Plugins not updated when building eclipse P2 update site

I have created an eclipse update site (using Helios) and added some features (containing my own plug-ins available in the target platform ). I then synchronized the site and build it which creates two folders: features and plugins containing the plugins and features (.jar files). I then make some changes to one of the plugins in the fe...

Synchronize .bundle_pool with local update site?

I have a local eclipse P2 update site containing some features based on some plugins that I have created. I have added this update site to my target platform and can add plugins from the local update site to my PDE projects. When I look at the paths to the plugins it points to: C:\Users\mm\workspace_helios.metadata.plugins\org.eclipse....

Updating every row in a table with IF Statement conditions

Hi everyone, this one has me stuck fast. Data: Month Total Impact Forecast ------------------------------------------------ 2010-04-01 45792.0000 1.0000 NULL 2010-05-01 51789.0000 1.0000 NULL 2010-06-01 58228.0000 1.0000 NULL 2010-07-01 52956.5217 1.0000 NULL 2010-08-01 53600....

Please tell me why this code is throwing an error.

I can not for the life of me figure out what is wrong with this code: IF NOT EXISTS(SELECT * FROM sys.columns WHERE name = 'Report_Date' AND object_id = OBJECT_ID('TempTable3')) ALTER TABLE TempTable3 ADD Report_Date datetime --Set "ReportDate" field to the date the data was extracted less one. UPDATE TempTa...

Android widget with changing text

I'm attempting to create an incredibly simple widget that changes the text displayed every 5s or so. However I've had major headaches attempting to get this to work. Obviously I can't use the onUpdate call as it's a minimum of every 30min. Currently my solution uses an Timer in an extended Service class, which is as ugly as hell and tend...

saving each item while in loop vb.net

i need to make my storedprocedure update as as the messabox reads each item of a datagridview. it only save the last record that messagebox read. need help:( For Each row As DataGridViewRow In DataGridView1.Rows Dim strunitprice As String = CDbl(row.Cells(7).FormattedValue) + Val(CDbl(TXTNET.Text)) 'op...

The passed entity bound to my BindingSource is updated in realtime, how can I prevent that?

Hello, I have a Mainform + smallDialog. scenario: The Mainform has a datagrid with entities bound. The smallDialog updates the entity double-clicked-on-the-datagrid-in-Mainform wich is passed to the smallDialog and bound there again to a bindingsource. When I change now some data in the textfiels AND leave the textfield so the focus...

PHP script "update process" management tutorials

Hi, We are creating a php script project; which we will be selling to customers. The customers can host the script on their web server. We would like to develop an update or upgrade process for this script. Means if a customer is using the version 1.2 of the script and we have released the new version 1.3 of the script, the users w...

Using Prototype .update not working right in IE7

Im trying to update an image after the user clicks it, but IE7 seems to load the image in the Dom right, but doesnt display the image. Firefox has no issue, and IE7 doesnt display an error and using IE Developer Toolbar tells me that the image is properly replaced, but IE7 Doesnt actually display the image, its like the image is there, j...

UpdateHandler, do a thing only when trigger is true, Android

Hi, I have a handler that receives a message on every location update, every 5 secs. From the location I can request the current city the user is moving in. Then I want to download some data once and only when city changes. How can I realize that? Handler myViewUpdateHandler = new Handler(){ public void handleMessage(Message msg) ...

Updating parent property values in SQL

Hello, I have a SQL Server 2008 database with 2 tables. These tables are defined like this: Device ------ ID Name Description TotalApplications Application ----------- ID Name DeviceID I recently added the "TotalApplications" column in an effort to speed up a query that is taking WAY too long. The number of applications associated w...

Codeigniter Activerecord update method refuses to insert NULL value

I'm using Codeigniters Active record library to carry out an update on a column on my DB. Here's the SQL for the table CREATE TABLE `schedules` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `reservation_id` INT(11) NULL DEFAULT NULL, `title` VARCHAR(255) NOT NULL, `description` VARCHAR(512) NULL DEFAULT NULL, `start_date` DATE NOT NULL, `st...

Updating the iPhone iOS 4.0.1 to 4.0.2 SDK, Do I have to download the whole 2.5 Gigs?

As the the Question asks, I currently sport xcode 3.2.3 with iOS 4.0.1 but I want to test on my iPhone which is stuck on 4.0.2 Thus I cannot do so until the SDK for 4.0.2 is accessible from xcode. Where can I download a patch update from 4.0.1 to 4.0.2 because the iPhone members page seems to only link me to the package including xcod...

Upgrading a PHP/MYSQL application?

I'm looking for inputs into how I can manage the upgrade process itself of a homegrown php/mysql application. Meaning, if we have a 'stable' version of our php/mysql application working on our production server, and we now want to upgrade it to the next version that we've worked on - how do we go about doing that elegantly? What practice...

Update 20 rows in mysql with x=x+1 values?

Hi there In mysql I have a table with like 20 rows (example). I want to write sort order (it is in array that carried picID's) to the SORT column from 1 to x (x is the number of items in this example x=20). My array starts with: [10,15,1...] I can do: UPDATE table SET sort=1 WHERE picID=10 UPDATE table SET sort=2 WHERE picID=15 UPDAT...

Database-based or update-based system for up-to-date iphone app?

Hi, I will develop an iPhone app. To make an example without exactly telling what I want to do: Lets think we have a app with jokes. Every user can vote the joke up or down and can send in her own joke. If the joke is approved by an admin, it should be add to the application. Now my question, what is the best idea to realize this? Sho...

What's the best way to update code remotely?

For example, I have a website with various types of information. If that goes down I have a copy of the same website the users use on a local webserver, like Apache or IIS on the client. They use this local version until the Internet version returns. They can have no downtime, in other words. The problem is that over time the Interne...

IPhone Catch any application interaction

Hi All, Im just wondering if there is any method of catching any user interaction with the application. The reason i ask is that when a user interacts with the app i update a date in the db. if they date is older than 10 minutes they are seen as offline by other users until they comeback and interact with the program. Does anybody hav...

WPF ContextMenu lose its subitems

Hi guys, I've got a weird issue with WPF contextMenu regards updating the UI! Basically I create a hierarchical list named World. this list contain Countries and each country contain Cities. I bind this list to a label contextMenu. I create a button which delete one city in that list. Here the code ` <Window.Resources> <Hiera...

SQL Server Update Query does not use Index

I have a update query that runs slow (see first query below). I have an index created on the table PhoneStatus and column PhoneID that is named IX_PhoneStatus_PhoneID. The Table PhoneStatus contains 20 million records. When I run the following query, the index is not used and a Clustered Index Scan is used and in-turn the update runs ...