Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How do I copy clipboard text to a file on ctrl V? (In ASP.NET  C#)

Posted on 2013-10-26
3
Medium Priority
?
413 Views
Last Modified: 2013-10-30
How would I copy the text from a clipboard to a text file row by row?

What is want is when I highlight some text and right click on the mouse to copy, it writes the info from the clipboard to a text file.

Thanks for the help in advance.
0
Comment
Question by:bmanmike39
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39603167
With a web page?  That would require the browser to access the file system which would be a huge security hole.  

You might be able to do it with an hta, but not a normal web page.

Cd&
0
 

Author Comment

by:bmanmike39
ID: 39603178
I understand the security issue.  But the site I am copying data from is trusted.  I thought I would be able to set the security in the browser to allow access to the clipboard.  Then when we are done working on the site reset the security to normal. Is this possible?
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 2000 total points
ID: 39603220
No. I have seen some strange and unsafe thing done with activeX, but I have not seen one where it can do what you describe. There might be some control like that around.

If you need the data on file, you might try going server to server and transfering that way, as long as the target site co-operates by not blocking you. On your server you should be able to save the data anyway you want; though you might need to do some parsing depending on the format.

Cd&
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question