update

How force NSMenuItem to redraw?

Hi, I'm implementing a custom status bar menu, which has a custom view with NSSearchField. I'm updating number of menu items according to search results. The number of menu items is changed as user types in the NSSearchField. I've noticed, that if number of results stays the same, items titles are not updated (redrawn). How do I force t...

ToggleButton binding

Hi, If i have a Collection bound to n togglebuttons in a stackpanel in a usercontrol....how can I update the underlying Collection with no code behind (including Checked and unchecked events) and complete update logic? Thanks, U. ...

CakePHP - Caching HABTM while (un)publishing children

Hi, I'm caching an HABTM relation in CakePHP. Some children (Showcases) of the root model (Client) get updated once in a while because they get published or unpublished. That means that the Cached query should expire. But... it doesn't. It only expires when one of the children is added or removed. How do I properly make the update actio...

Update UIView to ScaleFactor 2.0 for the iPhone4

I have a program running beautifully on my iPhone 4. It uses a class UIView I created (called TestView) to draw graphics using Quartz (very simply graphics such as just a few CG lines and circles). I need, however, to take advantage of the new higher resolution screen on the iPhone 4. Currently, the ensure backwards compatibility with iP...

Data actualization

I created a class called DataManager and within it I called Calendar.getInstance(), this class is running on a server with exchange of sockets, but every time you change a socket, the date is never updated, it always displays the same date as the date when the class was instantiated the first time. I would have to create a thread only to...

Telerik RadGrid refreshing a single row instead of using Rebind

I am using a RadGrid to display stock information. The data bound is a combination of 2 views and 2 tables. This is quite an intensive query, and the data behind it changes a lot. Now, when I update a value in a single row, I have to Rebind the data to update my grid (I use UpdateValues on the item, but it has no visible effect). This is...

Which problem do we face after switching from PHP 4.0 into PHP 5.3.3?

As we all know yesterday PHP released new version of 5.3.3. My question is following: What kind of possible problems could we have if we update PHP 4.0 into up to date 5.3.3.? I mean were their any functions or operators on PHP 4.0 that don't work on PHP 5.3.3. and kind of such a problems? That's it. Thank you. ...

How to create a correlated update subquery in MS-Access?

I'm in the process of normalizing a few tables and I've added a surrogate primary key to a table called Exams which holds exam titles. Previously, the child tables would just use the entire name of the exam as the FK entry. Now that I've added a autonumbered field to the table, I want to update the entries that use it such as the tabl...

Forcing location allowance on iPhone

If using CLLocationManager in your app, the first time a location update is made it will pop a question to the user asking for permission to use the location service. Now my app uses location, but not in the beginning of the app life cycle and when the user is not active with the phone. So I figure I have to get the allowance right from...

Resume batch script after computer restart

I have a bunch of old machines running Windows 2000 Pro and IE 5.0 which I want to upgrade to IE 6 with Silverlight. I downloaded the IE6 and Silverlight installers from Microsoft's web sites and fortunately they both have command line options to allow them to run in "silent mode". I put the two commands in a DOS batch script and ran i...

Modify entry in OpenLDAP directory

Hi, I have a large Openldap directory. In the directory the display name property for every is filled but i need to modify these entry and make it like "givenName + + sn". Is there are way i can do it directly in the directory just like sql queries (update query). I have read about the ldapmodify but could not find the way to use it li...

.NET web application automatic update pull-style

I have several .net web applications that use the same cms-like framework. When I add new feature to this core framework I want each application to be updated with this feature. So basically I need to do the following steps: Put App_Offline.htm in the application root Copy files that have changed from the update server Run SQL update s...

Branch from *part* of main code, how to keep it up to date?

Was little bit difficult to formulate the title for my question since is kind of abstract... Let me try to explain. I have a main code which has a git repository, I decided to take part of that code and make it a stand alone app. with its own name and versions to be distributed. Is there a way to keep the main code and that other branc...

Notifications for Joomla extension updates

Is there an extension that would check whether there are newer versions available to the installed extensions on a Joomla site, and would notify the site administrator? Ideally, I am looking for something similar to Drupal's "Update" module. I understand that there is no central place for keeping all these modules and their versions fo...

Updating an Oracle table with data from a SAS data set using SAS code

Hello all, I am rather new to SAS and I have run into a problem that I think probably has a better solution than what I've found so far. I need to update a Oracle db table that has around 1 million rows with data from a SAS data set that has about 10,000 records. I used an update statement within proc sql, but it takes hours to upd...

Wordpress | Automatically repost entries to the start page by date

Hi, I'm looking for a solution to regularly show a post on the startpage. The way to archieve this is to update the last modification date of a post, which can be easily done using an SQL statement. Alas this skips the regular Wordpress update hooks such as "post new entries to twitter". So I'm looking for a PHP cronjob script to "emu...

Implement Live Update into Views

Hi! Does anyone know how to implement the Live Update Module into Views? The module is found here: drupal.org/project/live_update (still too green to post more than one link) And a short example is provided here: Question and Answers: Using Drupal and the Live Update module. The module, and thereby live update, works out of the box o...

ASP C# update content

Hi all, I assume this is a simple question for you. Here we go: On my .aspx page, I have a label Label1 and a button Button1 surrounded by an Update Panel. A click on the Button invokes the code-behind method that looks as follows: protected void Click(object sender, EventArgs e) { ThreadProc("Hello"); Thread.Sleep(2000); ...

update embedded documents mongodb with mongoid

Hello frens.. I am having problem updating the embedded documents in mongodb. I have a following scenario. A User model has address as the embedded docs. I am able to embed the address to the parent model ie; User model but i still cant figure out how to update the address embedded even though i have the _id of the address embedded Plea...

Android Widget onReceive can't call Service class?

Hi, I have a widgetProvider . I also have a service class that does the calculation for the widget. The widget runs fine when initialized. I'm getting an error when I try to call the service from within the onReceive method after a broadcast event that I want to react on (time change). How can I update the widget from onReceive after ...