change

Entity framework : Watch changes saved on my objects

Hi, For my project, I have to log all changes made on my objects, through the entity framework. This consists just to register which fields have been edited on which table at which time. Roughly, put changes in a table with this kind of structure: IDEvent, EventDate, TableName, RowID, FieldName, OldValue, NewValue If there is multiple...

Change system date on Windows using Qt

Hi, What is the most appropriate method to change the system date (on Windows) programmatically using Qt4. I'm using Qt Creator 1.3.1. ...

Silverlight adjust DataGrid height at run time

I have a Grid of 5 rows. At row 2 and 4 I have a DataGrid. The other rows have a fixed Height. The contents of the tables in the DataGrids is of course dynamically determined, and therefore their height too. As in my particular app there is a relation between the height of the two tables, I want to adjust the MaxHeight of both at run-tim...

changing the browser language with javascript

i want to access the user browser settings and change the browser language, is this possible with java script code or no ? how can i access this ? sample code pleas ? ...

How to change variable values between namespaces / classes?

Hello! I have a main form with a textBox1 with string value : asd namespace Crystal { public partial class MainForm : Form { //here is a textBox1 with text "asd" } } I want to change this textBox1 text from this class: namespace Crystal.Utilities { public class Logging { //textBox1.Text = "dsa"; } ...

Winforms: Change Datagridview image on mouseover

I'm having trouble changing the image in a DataGridViewImageCell on mouseover. According to a few sources it should be as simple as changing the value of the cell to the desired image. However, nothing seems to happen when I try this. Here is the code: private void dgvThingProgramsOnPlace_CellMouseEnter(object sender, DataGridViewCellEv...

ajax img change

i have implemented a code that fetch single image from 1000+ images. The image has been changed using ajax call and downloading time of each image varies. How to make this image change with smooth transition from one another i.e without any flicker and ajax processing image ...

Android: change default Home Application

Hi All, for some specific requirement I am required to change Android Default Home application with my customized Home application ( a setting inside my app that will toggle default home = my application or previous home) I don't want the user to travel android settings that are very complicated. Can any one help me out like where it ...

Is RegNotifyChangeKeyValue as coarse as it seems?

I've been using ReadDirectoryChangesW to monitor a particular portion of the file system. It rather nicely provides a partial pathname to the file or directory which changed along with a clue about the nature of the change. This may have spoiled me. I also need to monitor a particular portion of the registry, but it looks as if RegNotif...

JQuery thumbnail src rotator on hover (multiple images)

Situation: We've got this DIV with thumbnails who need their src being changed on hover: <div id="moreVideos"> <span class="mb"> <a href="#" onclick="javascript:loadAndPlayVideo('qrO4YZeyl0I');return false;" class="ml"> <img src="http://i.ytimg.com/vi/qrO4YZeyl0I/default.jpg" id="thumb_qrO4YZeyl0I" class="mvThumb" title="Lad...

Assign value to dropdownlist items & display in label

Hi, I have a dropdown list, what I would like to do is assign values to the items in the drop down list and then display these values in a label depending on which item is selected.. Here is what I have already: <tr> <td width="343">Package*</td> <td colspan="4"> <select class="purple" name="package"> ...

Change WS endpoint on Axis2 with no servicePath

Hi, I've developed an WS using axis2, which is properly running using the endpoint url like `http://server:port/appname/services/FooService` but I need to get it working through an endpoint like `http://server:port/FooService` since the WS clients can't be changed to use a different endpoint. Getting rid of the "appna...

WPF Undo Redo Property System to highlight in red color if value has changed

I have a following requirement for a very complex UI. (Complex here means there are lot of controls in the form [approximately 100]). I am using MVVM (if my problem requires it to slightly go away from MVVM I am ok with it) My question is for Editable ComboBox and TextBox. But I would say I like to hear a common algorithm which will fit ...

Eclipse eRCP command framework - Unable to update command label dynamically

I've scoured the web for the entire day trying to find an example on how to implement what I read concerning changing a command label dynamically here: http:// wiki.eclipse.org/Platform_UI_Command_Design#Issue_102_-_Comm ands_implementation_of_label_changing I have the a command defined in my plugin.xml that uses the suggested schema: ...

How to configure mouse enhance pointer precision programatically

How to configure mouse enhance pointer precision programatically in C++? I know that have some useful commands like SystemParametersInfo, for speed, ... int x = 15; SystemParametersInfo(SPI_SETMOUSESPEED, NULL, reinterpret_cast(x),SPIF_UPDATEINIFILE | SPIF_SENDWININICHANGE ); ... but I cannot find enhance precision---- ...

How can I remove the text of a node without removing child nodes?

I'm working on creating XML docs from values in a database. Initially, the program exports this XML: <customDataElementlanguage>English</customDataElementlanguage> I've created this PHP to change the XML tree: if ($Element->nodeValue = "EN") { $Element->nodeValue = "English"; } $doc2 = $Element->ownerDocument; $titleElem...

Hibernate Transaction information

Given that you have a lot of domain objects, that all interact with one another, it would be very useful to know which objects have changed in a particular transaction. Is this possible ? I would like to essentially do this : public void someBusinessLogicMethod(someparams) { Session s = getSession(); Transaction tr = s.beginTransac...

Help changing function from prototype to jQuery!

Hey I found this function online and it works fine if I use it by itself, but the rest of my document has all jQuery functions and I'd like this one to be in jQuery as well. I also get a few errors when mixing prototype and jQuery. Here is the function: function updateCommodityProduct(e) { // The response comes back as a bunch-o-J...

Why jQuery.val( value ) does not dispatch any event from the DOM element?

When we use the method jQuery.Val( value ) over a DOM element to change its value. shouldn't the element dispatch an event informing that its value has changed? -I though the event 'change' was going to be dispatched. If it shouldn't why? Live Demo ...

change file extention?

What the best way is change file extention of Java? ...