Search update

60548 results
2

votes
1

answer

TextBlock Won't Update

I have a TextBlock (caloriesAvailableTextBlock) which I am trying to update. The Button (eatCaloriesButton) is supposed to reduce the number which the TextBlock is bound to by 100. However, the TextBlock will not update. It just remains at 2000. Any ideas what I am missing? My xaml in HubPage.xa...
Evorlor
14

votes
3

answer

Sql Update Query [duplicate]

This question already has an answer here: How do I UPDATE from a SELECT in SQL Server? 32 answers I have a table T1 which contains three columns: Id, Name, Address There is another table T2 which contains 2 columns Id, New_Address. Id column of T2 is same as of T1. I need a query which will updat...
F11
36

votes
9

answer

Ckeditor update textarea

I am trying to get the ckeditor working. Obviously it doesn't make use of the textarea so on submit the form doesn't submit the text in the editor. Beceause I make use of polymorphic associations etc. I can't make a onsubmit function to get the value of the textarea (when the form is submitted) . S...
heldopslippers
2

votes
3

answer

Update UIProgressView from background

I have a tab bar application with three tabs. In my second tab view i have a UIProgressView. I have a NSTimer in my viewDidLoad method which calls a method which updates the progressView progressTimer = [NSTimer scheduledTimerWithTimeInterval:1.5 target:self selector:@selector(updateProgress) userIn...
Neelesh
10

votes
7

answer

Launch image doesn't update

I'm using Xcode 4.3.1. Adding launch image is pretty simple -- just drag the image to the Project->Summary->Launch Images window. So I set a launch image before and it worked. But when I dragged a different image and run the app on my iPhone again, the launch image still remain the same as the old o...
ceriseche
5

votes
5

answer

npm update check failed

Last night I tried to update my node and npm, it seemed to have been successful, however ever since then I have been getting this same error any time I try and run any npm command. I have tried uninstalling and re-installing npm, but cannot get past this error message below. Node version: v8.3.0 E...
VStothard
4

votes
1

answer

Android Widget Won't Update

I have been working on a widget for Android. One of the things it should do is display the current day of the week and day in the month. I think my code is alright, but for some reason it never updates. The update period in my provider is set to 30 minutes, but I don't think that should matter (in a...
Zero
2

votes
1

answer

Scope refuses to update

for some reason unknown to me, I can't get the controller scope to update the view, even though apply is running and the scope itself has been updated. I know that because when I console.log(data) I see its been updated. userList directive should assign data.activeUser property on controller's scop...
Asaf Katz
4

votes
1

answer

update iphone application behaviour

I developed one database related application for iPhone device(SQlite database). Now i want to update that application with more features(I want to push an update for the same application). Here i am more concerned about the user data while pushing the update so my question is if i will push an upda...
Jim
2

votes
1

answer

Update popupmenu list

I have to delete an element form the popupmenu and update it with this code : tmps=get(handles.popupmenu2,'string') x=find(strcmp(item ,list)) % x is the position of the item i want to delete it from the list list = list(~strcmp(list, list{x})) % delete the item from the list set(handles.popupmenu...
Ez0r
2

votes
2

answer

JTabbedPane swing update error

I have 2 JPanels in a JTabbedPane and when update(g) is called on a panel inside the first panel (Its an animation) even if the second panel is the selected panel(i.e the one you can see) the updated panel appears on the screen. Why is this and how can i circumvent this behaviour?
dominic
2

votes
2

answer

OnPaint does not update

I have a windows form which contains a user control. This user control has the following code: protected override void OnPaint(PaintEventArgs pe) { base.OnPaint(pe); pe.Graphics.DrawRectangle( new Pen(Color.Red, 5 + laenge), new Rectangle( new Point(50 + leerzeichen, hoehe), new Size(laenge + 20,...
Tim Kathete Stadler
4

votes
2

answer

java priorityQueue update problem

(sorry for my bad english) I'm writing an implementation of Dijkstra algoritm and I need to use a priority queue. I use PriorityQueue as definited in Java Platform SE 6. There is a way o a method like Q.update() in Java Platform SE 5 that rebuild priority queue in case the priorities of its element...
davy
23

votes
4

answer

Eclipse - Android Library Update

Related to the question here, is the Android Library Update step necessary and, if not, can it be removed from the startup and/or build process? A manual update seems like an appropriate option, especially if it improves build times and you already have a previous clean compile.
Jim
584

votes
21

answer

Force maven update

I imported my working project on other computer so it started to download dependencies. Apparently in the meantime my internet connection crashed. Now I get: Build errors for comics; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project comicsTest: Could not res...
M4ks
4

votes
2

answer

Save Or Update Mongoose

Is there a nice way of either saving, or updating a document in mongoose? Something like what I'm after below let campaign = new Campaign({ title: req.body.title, market: req.body.market, logo: req.body.logo, additional_question_information: question, status: status }); campaign.saveOrUpdate().then(...
Ollie
2

votes
5

answer

Composer update trouble

I'm using laravel + composer . I'm loading way/generators package and when I run composer update give me this error: Loading composer repositories with package information Updating dependencies (including require-dev) Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 6...
Fede
3

votes
1

answer

Dynamically update JComboBox (NullPointerException)

I'm trying to dynamically update a JComboBox in swing application and getting a null pointer exception. class Accounts extends JPanel { JComboBox accountSelect; DefaultComboBoxModel accountSelectModel; public Accounts() { this.initGUI(); } public void initGUI() { //setLayout etc... String[] al = {};...
3

votes
2

answer

Update Clarity Seed Project

I've started developing an Angular 4 application using Clariy. I've started the project cloning the Clarity seed project, and with that base, I've started building my components. How can I update Clarity to the last version? I would like to keep Clarity updated as musch as I can while I'm developing...
Matteo M.
3

votes
3

answer

sql oracle update date

My table table1 has the column date_txt which includes 2/16/2011 12:00:00 AM - column date_txt is VARCHAR2 (250 Char). My table table1 also has the column date which is a DATE. I would like to 'update' my field: The final output should be: table1: date 2/16/2011 So it takes from table1 date_txt the...
piguy
7

votes
1

answer

Component disappears on update

I am implementing a word search facility in my React Native app. I have a MobX store, wordStore. Each text change triggers a database query via the setFilter action. This all works under the hood as I can see from console debug output. However, the WordList component seems to disappear as soon as a...
Adamski
8

votes
2

answer

Composer update memory limit

I need to run composer update at my hosting so I log in with ssh and try to run comand: composer update inside /www folder where I have laravel and composer instalation but I get error: in contact with my hosting provider they tell me to run command: php -d memory_limit=512M composer update I run th...
Andrew
2

votes
1

answer

NPM update error

Tried to upgrade my npm but go these errors. :S Anyone have can point me to the right guide that would be awesome. I am running windows 10 C:\Users\kavas>npm -v 2.14.12 C:\Users\kavas>npm cache clean C:\Users\kavas>npm update -g --unsafe-perm node-red > [email protected] install C:\Users\kavas\AppData\Ro...
kristoph
1

votes
2

answer

WPF ListBox Binding Update

I'm brand new to WPF and I just managed to bind a list of specific class items to a ListBox. The ListBox now successfully displays them. Here's some code, the class first: public class OrderItem { public int Quantity { get; set; } public string Name { get; set; } public Double Price { get; set; } }...
mmvsbg
2

votes
4

answer

Static field doesn't update

There were times I changed a static field in my program, but when the program ran it would still get the old data. Even though I rebuild the workspace it wouldn't work. I use Eclipse. Does the compiler cache the constant values? How do I avoid this problem? Class Container { public static String mes...
Edmond
33

votes
3

answer

Mongoose find/update subdocument

I have the following schemas for the document Folder: var permissionSchema = new Schema({ role: { type: String }, create_folders: { type: Boolean }, create_contents: { type: Boolean } }); var folderSchema = new Schema({ name: { type: string }, permissions: [ permissionSchema ] }); So, for each Page...
Darko Romanov
3

votes
3

answer

Impossible to update Entity

Under Symfony 2 (last version), I'm trying to update my entity : php app/console doctrine:schema:upate --force I got this error message into my terminal : [Symfony\Component\Config\Definition\Exception\InvalidConfigurationException] Unrecognized options '0, 1, 2, 3' under 'security.firewalls.access_...
user3553866
7

votes
2

answer

Rails delegate update call

I have two models: User (email:string) Profile (name:string) class User < ActiveRecord::Base has_one :profile delegate :name, :name=, :to => :profile end class Profile < ActiveRecord::Base belongs_to :user end rails c u = User.new u.build_profile #=> init Profile u.name = 'foo' u.emai...
Rustam A. Gasanov
2

votes
2

answer

Update table using alias

I need to fill some fields in a table getting informations from other records of the same table. I tried to write a query to explain what I want to do: update globale2 set nita = t.nita, tita = t.tita, notaita = t.notaita where neng = t.neng and nita is null (select nita, neng, tita, notaita from gl...
Silvestro Magliola
2

votes
2

answer

Update ValidationSummary after UpdateSource

I'm forcing an update of every textBox in a silverlight page: this.txtName.GetBindingExpression(TextBox.TextProperty).UpdateSource(); Everything works fine (the textbox shows its error, etc...) but ValidationSummary is not refreshed... Any idea?? Edit: After some tests I've realized it was because V...
zapico
2

votes
2

answer

Mercurial auto update problem

We are starting to use Mercurial for source control. We have configured the HGRC configuration file to do an auto update after we push to the 'central' repository. With some PCs we get this error msg: warning: changegroup hook exited with status -1 HGRC looks like this: [ui] username=ADMIN verbose=...
Ezequiel
2

votes
5

answer

UPDATE sql String Error

been learning php for 3 weeks now and i find myself with a simple error that does not make sense: I cant see what is wrong with this code. Could someone please point me to why this is happening. Its a simple insert and set sql query which is like this: code: $insertresults = 'UPDATE usage SET messag...
Robert
1

votes
2

answer

Update core data

I relased version 1 in appstore that contain coredata database , in version 2 I added new fields to the database how to modify dynamically the old database , with keeping the data I already did without versioning and don't have the old version , and the application will crash on the customer ipad...
AMH
1

votes
3

answer

Update anchor using JavaScript

I have a page with a table. The table contains th elements, which contain anchors. This is what an example th looks like: Inventory reference What I want to do is update the anchor so that it has an extra query string parameter thus: Inventory reference Now, I now that I must do this: $(document)....
Sachin Kainth
4

votes
2

answer

Git submodule update overwritten

I'm working on a git project with several people and we have included an external library as a git submodule. We share a common remote that we regularly push to and pull from. Since we first added this submodule there were some changes in it, so I did a git submodule update --remote to update it to...
dd23
2

votes
2

answer

C# Program Update

Hi I have a c# project in visual studio 2010 and Im wondering how to do the following I have deployed this project already to a tester. It uses a SQL database in the backend. When I published a new version and sent him the new installer he had to remove the old version first which in turn removed hi...
Brandon
3

votes
1

answer

Client application update

I'm developing client-server application by using .Net, C#, WCF, WPF. And now I need to implement client applications update process (client dll's). Could someone suggest some good pattern for this?
Marat Faskhiev
2

votes
4

answer

Partial UPDATE command

I want to execute UPDATE command over a group of records, but it fails, because some records after the update would violate an table constraint. Is it possible to update only suitable records somehow?
3

votes
1

answer

Core Data batch update

I am trying to run a batch update on selected objects in my Core Data database (SQLite) but my request returns 0 items updated (no error message). My entity 'SDRDFileObject' has a property selected (Bool in my model), which I want to set to NO for all objects satisfying my fetch predicate: NSPredica...
Trond Kristiansen