change

change mysql data directory

Hi All, Is it possible, if I change my default mysql data directory to other. But, will I be able to access the databases from old location. any inputs will be a great help. Thanks in advance Regards, Manasi ...

JQuery callback question

Hi, I'm trying to assign a different number to different callback functions in jquery. for (i=o;i<types.length;i++) { $('#ajax'+types[i]+'Div').html('Loading...').load('searchAjax.php','new=u',function () { $(this).find('select').change( function() { AjaxDiv(i); } ) } ); } Everytime I run this section of code, i is 5 for each c...

Change/update a select box

Hello, I would like to fire an event when a select box is updated, I've tried with change() but this function only work when the user use his mouse to select an option in the selec box. So when I choose option using his keyboard (arrow or first letter of the option element) nothing happen =/ A solution was to use keydown() but as l...

setCurrentDrive? c++ win32

hello how can I set the current drive in c++? this is how I set the directory but i'm unable to change the drive like this(duh) but I cant find anything on the msdn site... anybody know this? thanks ...

JavaScript Help

I am completely stuck on how to finish this problem... the question goes... Write a function quality Points that inputs a student’s average and returns 4 if the stu¬dent's average is 90–100, 3 if the average is 80–89, 2 if the average is 70–79, 1 if the average is 60–69 and 0 if the average is lower than 60. Incorporate the function int...

UISlider change value when tapped

Usually you need to hold the thumb image and move it on the slider, is there any property of UISlider or a way to move the thumb image i.e. change value when tapped on the slider ...

jQuery changing css class to div

If I have one div element for example and class 'first' is defined with many css properties. Can I assign css class 'second' which also has many properties differently defined to this same div just on some event without writing each property in line. thanks a lot ...

Set or change Attribute's properties or fields at runtime in C#. Possible?

I believe there is no human way to change any attribute or field inside an Attribute apart from doing it in the constructor. That is, short of redesigning and recompiling Visual Studio yourself. There is already a similar question posted here: http://stackoverflow.com/questions/51269/change-attributes-parameter-at-runtime but I believe t...

jQuery Checkboxes in Safari

Hi Guys, I am trying to add a class when a checkbox is "checked" in Safari and remove it when it is unchecked [in other browsers I am using.bind("focus", function() { but in Safari it doesnt work?] I am currently using jQuery('.top_class input').bind("focus", function(){ jQuery(this).parents('.row').addClass("add_over"); }) ...

how to use javascript to change div backgroundColor

The html below: <div id="catestory"> <div class="content"> <h2>some title here</h2> <p>some content here</p> </div> <div class="content"> <h2>some title here</h2> <p>some content here</p> </div> <div class="content"> <h2>some title here</h2> <p>some content here</p> </div> </div> when m...

Active Directory Change Tracking

Hi Everyone, I am going to write a small software to track active directory changes. I need an expert opinion from members and also validate my findings from you. What I Need? I want to display information about What ( with before and after values), When, Where and Who of any change in AD. What I Found So Far? I found that there are ...

How to change a value in multidimension array in PHP.

I want to change some values in my multidimension array in PHP. Suppose that I have: $photographer[0]['uid'] = '1001'; $photographer[0]['point'] = '0'; $photographer[1]['uid'] = '1002'; $photographer[1]['point'] = '1'; I want to change point of photographer that have uid = '1001' to 3. How can I do it? ...

Change background repeat image with JavaScript

I'm trying to create a script that changes the repeated background image of an element, on the mouseover event. Unfortunately it does not work properly. I have found several possible ways to do this with JavaScript but none of them has worked for me. How can I solve this problem? The following piece of code is not working properly: ...

Python library to detect if a file has changed between different runs?

Suppose I have a program A. I run it, and performs some operation starting from a file foo.txt. Now A terminates. New run of A. It checks if the file foo.txt has changed. If the file has changed, A runs its operation again, otherwise, it quits. Does a library function/external library for this exists ? Of course it can be implemente...

Changes in App.config do not reflect after restarting the application

I am using an app.config file to store the dynamic parameters of my application. The problem is, when I change a value in app.config file, and start the application, it doesn't load the new value from config file. Seems like the values in app.config file are being read and embedded in exe file only at compile time! This is how I read t...

Can't get URL changed from IFRAME

Hi there, I have an IFRAME with a src that is a login, i'd like to know, in any way, if it has been logged in, so i tried to check if the URL has changed getting the .src property, and it is the same that the original. Is there a way, i know about the restrictions problems (it's not in my domain the url that i'm trying to get) to see if ...

login - change form action based on selection?

I have this script on a mafia game where i have 4 worlds/servers I have index.php where i want to login directly to one of the servers by selecting it from a option I have this code and i need to change form action <form action="/ro1/index.php?action=login" method="post"> <input id="user" name="user" class="text" type="text" value="Na...

Changing a SQL Server 2005 installed Product Key

Is it possible to change a SQL Server 2005 Product License Key without reinstalling SQL? We have two identical Dell servers that will be deployed by the DOD. Each server was purchased with a SQL Server 2005 Standard Edition license. We installed and configured one of the servers. We took a ghost image of it and put it on the second ser...

How to change cursor when dropping into Java application

Hello fellow programmers! I'm having some problems I just can't figure out... I'm writing a Swing Java application with a JList that accepts drag-and-drops. I want to change the cursor while dragging a file or folder from my system over the Java application. I've spent hours searching google but I've found nothing useful so far. Maybe...

iis7 can not access site if site folder owner changes the password

Had to switch to "Application user" (pass-through authentication) to see the site again (site advanced settings). If I set "Specific user" (the one the site folder belongs to), iis7 shows the error. I've changed the user password as I've lost the old one. It seems that the OLD password is stored (encrypted) in some configuration file (...