clipboard

Getting name of file copied to clipboard from email attachment in VB.NET

If a user copies a file to the clipboard in Windows from an Outlook email attachment, is there any way I can get the name of that file in VB.NET? If the file is copied from Windows Explorer, Clipboard.GetFileDropList has data that I can use to get this, but that list is empty when the file is copied from an email attachment (there are ...

How can I get a script's output to be copied to the clipboard (windows)?

Hello, I find myself running scripts and copy-pasting the output of these runs into emails or into some other documents. Is there a way such that I can make the copy-to-clipboard step a part of the script itself? Most of my scripts are either perl or bat files and I work on windows. Thanks, Rohit ...

Clipboard appears not to be working, and is inaccessible from code or windows

My clipboard seems to be 'stuck' - after some time of usage of my machine it simply stops working - any software trying to access it sticks or throws an exception on Ctrl + C or Ctrl + V. The problem persists when I try to access it through the .Net framework or Win32API (an exception is thrown - something like 'Clipboard unavailable' [s...

How to paste CSV data to Windows Clipboard with C#

What I'm trying to accomplish My app generates some tabular data I want the user to be able to launch Excel and click "paste" to place the data as cells in Excel Windows accepts a format called "CommaSeparatedValue" that is used with it's APIs so this seems possible Putting raw text on the clipboard works, but trying to use this format...

Can not round trip html format to clipboard.

I want to write Html format, but I can not even get a simple MSDN example of it to work. http://msdn.microsoft.com/en-us/library/tbfb3z56.aspx Does this console app, a clipboard round tripper, work for anyone? using System; using System.Windows; //Need to add a PresentationCore or System.Windows.Forms reference class Program { [...

Mozilla Firefox & Internet Explorer Clipboard ASP.NET

Hi Guys, I need to copy a text from a textbox into the clipboard with ASP.NET, I want a code that is compatable with Mozilla Firefox and IE? Have you any idea? Thanks Alot! ...

Pasting an image from clipboard to a website

I need to come up with a solution for users to be able to paste an image on to a website, then upload that image on to the web server. I'm not sure what the right solution for this - I am pretty sure javascript is out of the question because I don't think it can handle binary clipboard data (or any clipboard data?) So, I'm not sure whic...

Copying portions of a tdbgrid to clipboard?

Is there any way to copy a selection of rows from a TDBGrid in Delphi 2007 to the clipboard easily? ...

Why does Cut/Paste of form components sometimes stop working in Delphi 2007 IDE?

This is driving me crazy. I'm not going to take it anymore. I'm going to ask, even at the risk of eternal public humiliation! (If it's something really obvious or that I've done to the system myself). For reasons I've never quite had the patience to work out, every so often the form I'm working on in Delphi 2007's visual form editor goe...

How to Copy to Clipboard in JavaScript?

What is the best way to copy text to the clipboard? (multi-browser) I have tried: function copyToClipboard(text) { if (window.clipboardData) // IE { window.clipboardData.setData("Text", text); } else { unsafeWindow.netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); ...

Copy to clipboard in Javascript

Is there a way at all of altering the clipboard of the user via Javascript? I want it that they click a given point on a map and it adds the coordinates of the position to their clipboard. I do however assume that this is not possible for Javascript to achieve. ...

Display the clipboard information in a ASP.net

I am having a requirement to show the data in the clipboard to the readable control. The clipboard data may be text,document or any type. the control should display the information. Is there any controls available in ASP.net This is client side clipboard ...

How to copy a picture from canvas to clipboard?

I have some Tkinter canvas and some picture of lines and text on it. Is there an easy way to copy it to a clipboard? ...

How to retrieve text from the clipboard in partial trust

We have a RichTextBox WPF control and since we control the layout, we simply cannot allow any rich content... Therefor, we need to strip all data except text from the clipboard. For example, if someone is trying to copy/paste lets say text from a table directly from Microsoft Word, the RichTextBox also takes into account that this text...

Paste an image from clipboard using java script

Hi all, How do we paste an image from clipboard into a custom rich text editor using javascript? (ctrl+c and ctrl+v or a snapshot). Has anyone used Ajax's rich text editor? Does pasting an image from clipboard to Ajax RTE work? Please do share your thoughts! Thanks! ...

Incremental paste plugin?

I know that often using a for loop to generate repetitive content is the better way than pasting something 20 times and changing each paste to the correct number by hand. But let's say for cases where content is hard-coded and I just want a list from 1-20. I would like a text editor with a "smart" paste command that takes any number i...

Paste an image from clipboard doesnt work when web application is configured thro IIS

Hi All, Am creating a web based application using ASP.NET v2.0. I have an urgent requirement in my project - to have a control in my web page that would allow the users to enter text or copy paste image from the clipboard (say a snapshot). In order to achieve the same i have tried using the windows clipboard class in web forms and ret...

Concatenating to Clipboard?

Does anyone know of a utility (for Windows or Linux or MacOSX) that will append the selected contents to the clipboard? Rather than killing what's already there...(maybe using a different keyboard shortcut instead of Ctrl+C to do this? And I don't mean multiple-clipboard items... I mean concatenating multiple strings of text to the sam...

Paste Excel into a web page

I'm trying to write a web page that takes excel info from the clipboard. I'd like to be able to pick up the XML Spreadsheet info, rather than just the text. Is this possible? I'd like to do it in most browsers, if not all. Thanks ...

Cannot get file data from the clipboard using Flex

Given: A Flex TileList with the following event: <mx:nativeDragDrop> <![CDATA[ if(event.clipboard.hasFormat(ClipboardFormats.FILE_LIST_FORMAT)) { var files:Array = event.clipboard.getData(ClipboardFormats.FILE_LIST_FORMAT) as Array; for each(var file:File in files) { // file.data is null here! } ...