move

jQuery: move element by relative value

hi all, (meaning an elements left-value): what's the easiest way to move an element - eg. 10px to the left (from its current position)? thx ...

Dojo DnD Move Node Programmatically

I would like to know if there is a way to move the node programmatically in dojo Dnd? The reason is I would like to revert the changes to the drag and drop when the web service call triggered a failed save on the database. Here is what I have so far. In my code, the node Id seems to be unrecognized by the dojo.dnd.Container.DelItem. I c...

Android: how to move standard elements (like EditText) by touch event?

I can override onTouchEvent, but there is no x and y coordinates to set in the EditText or usual View. ...

php move_uploaded_file not working on Windows 7 only

I've got a project that I am setting up file uploads for. The project is in Zend, but I am using PHP's $_FILES array and move_uploaded_file to save the files. This was working perfectly on my Windows Vista computer but won't save the file on Windows 7. It creates a new folder for every upload no problem, but won't save the file and ...

Move websites from IIS7 to IIS 7.5

Can anyone suggest the best way of moving websites on server1 with IIS7 to server2 with IIS 7.5 on it? I've read some articles which suggest copying the applicationHost.config file while preserving the configProtectedData node, but I'm concerned there may be settings in the IIS 7.5 config that don't exist in the current IIS7 config whi...

Unix Bash rename files using a regex.

Hi everyone! I would like to rename all files from a folder using a regex(add a name to the end of name) and move to another folder. It my opinion, it should be looking like this: mv -v ./images/*.png ./test/*test.png, but it is not working. Can anyone suggest me a solution? Thanks in advance! ...

Move File from /tmp to hosting account folder

I have write access to /tmp folder of my shared hosting account at godaddy. I want to move uploaded pictures from /tmp folder to my hosting account folder /home/content/x/y/z/xyz/html/pic/ I am trying to move file through jsp with no success. Folder permissions are set to (read write execute 0777). Godaddy support insists that transfer o...

batch/CMD move does not work with folders

Hi everyone. I have a simple .bat (move.bat) file in the SendTo folder which moves files and directories from any location to a specified folder by using the context menu. This worked on XP. In Windows 7 however i get an access denied error. It doesn't even work with cmd opened as admin (runas). content of move.bat: move %1 c:\specified...

change cell appearance when drag handle is pressed

I'd like to change the appearance of a cell when the user tap the drag handle. I searched in the documentation, the forums and google, but I can't find a method or an event that say when the drag icon is pressed. Any help will be appreciated! Thanks ...

How to simplify stopping movement of image when within threshold of target

I've already tried to explain what I'm trying to do to others, and failed horribly. Therefore, if you will excuse me, I'll just show you the code and attempt to explain a little. if (MovePetMoving) { if (MovePetSlope[0] > 0) { if (MovePetSlope[1] > 0 && Convert.ToDouble(pictureBoxP...

C# Drag&Drop Move of Items in Current ListView

1) How do you move items in a ListView using Drag&Drop? I have implemented D&D copy for files dragged from a directory. 2) BTW, how do you get a directory link by D&D to ListView, I've seen applications that get the directory path by D&D from address bar of Windows Explorer. private void lvwFiles_DragEnter(object sender, DragEventArgs ...

SVN: How can I move one branch over the top of the other?

Due to some mismanagement of our SVN repository, we ended up making a branch, named Stable, containing a stable build of our code (the branch actually got started from a tag of the last release, rather than the trunk). Basically trunk has been 'infected' by some changes made by our new programmer, who didn't really know what they were d...

Idiots guide to moving a directory up in SVN

No, this is not a duplicate of this. While I'm normally used to using visual tools with SVN, I find myself now faced with wanting to move Repo/Parent/ChildX/ChildY to Repo/ChildY. I receive the following errors and am just looking for what I'm missing here. Consider the server just installed (from a dump), nothing else available but svn...

Moving files from one Team Foundation Project to Another

Our project has hit a point where we need to split off some code into a separate team foundation project. We would like to move these files so they retain their version control history. Temporarily we are copying the files back to the original team foundation project and re-adding them just so that our daily build & test process doesn'...

ANT task to move and rename, files and folders, recursively

I have have a folder structure like so: /PROJECT/PROJECT.html /PROJECT/PROJECT_readme.txt /PROJECT/PROJECT.css /PROJECT/PROJECT.js /PROJECT/abc_PROJECT_def.txt /PROJECT/something.js /PROJECT/other.txt /PROJECT/somefolder/PROJECT_other.txt I want to use ANT to copy the complete directory and also change the PROJECT string in the...

how do you move multiple files in git?

I try: git mv a.py b.py src/ and get fatal: multiple sources for the same target, source=b.py, destination=src/b.py Using the -n flag, like so git mv -n a.py b.py src/ gives me: Checking rename of 'a.py' to 'src/b.py' Checking rename of 'b.py' to 'src/b.py' fatal: multiple sources for the same target, source=b.py, destination=src/b....

How do I move a Git branch out into its own repository?

I have a branch that I'd like to move into a separate Git repository, and ideally keep that branch's history in the process. So far I've been looking at git filter-branch, but I can't make out whether it can do what I want to do. How do I extract a Git branch out into its own repository? ...

XAML: How are the Size and Move commands implemented in a system menu?

I have styled a window to replace the standard window chrome with a standard 'System Menu' popup and I want to implement Size and Move using the keyboard. Anyone done this or have an example? ...

How can I move a CGPath without creating a new one

Hello, I am creating a CGPath to define an area in my game like this: CGPathMoveToPoint ( myPath, NULL, center.x, center.y ); CGPathAddLineToPoint( myPath, NULL,center.x + 100, center.y); CGPathAddLineToPoint( myPath, NULL, center.x + 100, center.y + 100); CGPathAddLineToPoint( myPath, NULL, center.x, center.y + 100); CGPathCloseSubp...

WPF: How do I position the mouse cursor in code?

I am implementing the system menu (Restore, Move, Size...) on a borderless window and I want the mouse cursor to move to the center of the Window when size or move is selected. Ideally in VB but C# is fine as well. ...