How to detect Ctrl+V in Silverlight 4?
What is the best way to detect Ctrl+V in Silverlight? I want to detect Ctrl+V, to get access to the Clipboard. ...
What is the best way to detect Ctrl+V in Silverlight? I want to detect Ctrl+V, to get access to the Clipboard. ...
Cell C1 contains a date.Macro to check the date in C1, if the same date is mentioned in row 3 then copy all matching date data beneath it from D6 downwards, paste to sheet2, cell b3.Also copy a6 column downwards to sheet2, cell a3. ...
Short Question What's the right way to handle a Ctrl-C event sent over Telnet on the server side? Long Question After calling recv() on a socket, I'd like to handle some situations appropriately. One of them is to return a certain error code when Ctrl-C was received. What's the correct way to detect this? The following works, but it ju...
I'm running a script that performs a command that lasts too long, so I want to interrupt it. Any help? I've tried to search a lot, and I've been pointed to the kill command. Although, I can't get it to work. By the way, I'm using a Mac OS X. Thanks! ...
Imagine I want a user to be able to copy-paste a selection of pixels from MSPaint into a browser-based app. Is this possible using JavaScript in any current browsers? Will it become possible in HTML5? If not, is it feasible using something like Flex/Silverlight, or is it simply not possible at this time, and you'd have to save a file and...
I am building an app for iPhone that has javascript running in a webview. When the new auto-select block selection tool is used to select text, and the block is resized from the side, it makes my javascript freak out. Does anyone know a way to disable the copy/paste for block selection? I still need to be able to select text, just not...
Hi, Is there an easy way of adding copy-paste for a listview, or should I just switch to DataGridView instead? My application is kinda like an address book, it contains emails, numbers etc where copy paste would be useful. ...
Working with .NET framework I have a service with a set of methods that can generates several types of exceptions: MyException2, MyExc1, Exception... To provide proper work for all methods, each of them contains following sections: [WebMethod] void Method1(...) { try { ... required functionality } catch(MyExcept...
I've got an existing Hudson project that is configured and working. I need to duplicate the project so that I can have the original and then change the new one so that it points to a different source control. I don't want to manually recreate the build. How can i "copy & paste" or otherwise duplicate the exiting build configuration, ...
Hi People, I found a weird scenario where if I start a java program and I want to exit gracefully with CTRL-C it doesn't work/respond, I have to do a CTRL-Z on the program and this is not cool, doing a ps lists the process... Anyone please. ...
Hi, I'm trying for two days now several JavaScript lightweight Rich Text Editors (rte) such as nicEdit, mooEditable, MooRTE (the two last ones were considered because they use the mootools framework which I'm using for this project). My problem is that with all of them, when I copy a pre-formated text from a web page (with words in bol...
I have (cua-mode t) in my .emacs, so that C-c is copy and C-v is paste just like most other programs on my desktop (Ubuntu, Gnome, Linux). However, Emacs does not seem to share the clipboard/copy buffer with other programs. For example, if I C-c in Firefox I can S-C-v to paste into a terminal or C-v to paste into gedit. However, if I C-...
I want to build a custom object in HTML which is focusable. How can I do that in general? More specific about why I want that: I need some kind of editor component with much more power and control over it. I.e. no single character should be possible to be typed in directly. It is like a big tree of objects (imagine an AST or so) and you...
Hi all Just a small warning for the ones of you who work with a lot of images. Today I was copying (drag n drop) a lot of PNG images into my xcode project (I'm using 3.2.3). Half way through the copying xcode stopped because there was already a file with the same name. No problem. Deselected that file and copied the rest. All seemed f...
I'm currently working on Java code that can copy files into the system clipboard. For Windows and Linux I already got it working. For OSX I tried several flavors but the "Paste" action in Finder never cames active. Any idea which DataFlavor settings are required for Finder? Used flavors: DataFlavor.javaFileListFlavor URILIST_FLAVOR =...
I did some code alignment in the way I preferred, using vim--then tried to paste it into VS2008. Voila, 2008 decides to reformat it, removing all the whitespace I added to make some declarations beautifully aligned. Is there a way to have VS2008 either (A) paste without changing whitespace or (B) align the code as shown below? public ...
If I have the following words cat Oliver Louis and the cursor is on "c", I can copy up to the beginning of Louis with y/Louis<CR> (where "CR" is the enter key), which will copy the string "cat Oliver ". Is there a way to copy the search term, "Louis", as well, for a copied string of "cat Oliver Louis"? Thanks in advance. ...
I have a <div> that has contentEditable="true". When I copy-paste content within the editable div, the pasted text gets wrapped into a lot of unwanted CSS. For example, this: <p>text text</p> becomes: <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-botto...
I have a WinForms RichTextBox and by default the Undo works for most things, but when I Paste some Text in (I have stripped it of formatting it is just plain text), and try undo it does not undo the text just pasted. Any help to a solution? ...
Here is the source of a game I saw on the Internet. I want to copy it into my application, but it doesn't work. Any button is not made. How can I fix it? namespace backgammon1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } Button []chipmove=new Button[...