I use this in ie and it works just fine. Hoever when i use it in opera, the
browser have a problem with the "createTextRange" bit.
=============================
var txtHandler = txt.createTextRange();
txtHandler.execCommand("paste");
=============================
Does anyone knows another method that allows me to paste the text in the
clipboard into my textbox?
Thanks 3 2657
Du Dang wrote: I use this in ie and it works just fine. Hoever when i use it in opera, the browser have a problem with the "createTextRange" bit.
============================= var txtHandler = txt.createTextRange(); txtHandler.execCommand("paste"); =============================
Does anyone knows another method that allows me to paste the text in the clipboard into my textbox?
Thanks
Hi Du Dang,
I cannot help you with that, but it raises a question: If IE (or any other
browser) can monitor my clipboard, can it also send that content to every
server without my knowledge?
If so, I gonna be sick (again).
Does somebody know if IE can monitor clipboardcontents without my knowledge?
Regards,
Erwin Moller
Erwin Moller wrote: Du Dang wrote:
I use this in ie and it works just fine. Hoever when i use it in opera, the browser have a problem with the "createTextRange" bit.
============================= var txtHandler = txt.createTextRange(); txtHandler.execCommand("paste"); =============================
Does anyone knows another method that allows me to paste the text in the clipboard into my textbox?
Thanks
Hi Du Dang,
I cannot help you with that, but it raises a question: If IE (or any other browser) can monitor my clipboard, can it also send that content to every server without my knowledge?
Very possible.
If so, I gonna be sick (again). Does somebody know if IE can monitor clipboardcontents without my knowledge?
Monitor it, perhaps. It wouldn't be hard.
onload, read the clipboarddata, then set an interval to compare it to
whats currently in it, if its changed, then post the new data to a
hidden field, submit the hidden field (in a hidden iframe) and go from
there.
Hi Erwin,
Sorry to bring you the bad news ...
Like they said, what you don't know can't hurt you or at least won't freak
you out :-) I cannot help you with that, but it raises a question: If IE (or any other browser) can monitor my clipboard, can it also send that content to every server without my knowledge?
If people want to do such thing, there are many means to achieve this. It a
matter working out the details.
If so, I gonna be sick (again).
lol
Does somebody know if IE can monitor clipboardcontents without my
knowledge?
One way too accomplish this is to use cookie to store the data from the
clipboard and pick it up when you feel like it
btw I'm not doing any thing of this evil magnitude, I'm only trying to
increase the lazy (less clicking) factor of my start page
Anyway have fun, I hope I didn't spooked you
Regards,
Du Dang
"Erwin Moller"
<si******************************************@spam yourself.com> wrote in
message news:41***********************@news.xs4all.nl... Du Dang wrote:
I use this in ie and it works just fine. Hoever when i use it in opera, the browser have a problem with the "createTextRange" bit.
============================= var txtHandler = txt.createTextRange(); txtHandler.execCommand("paste"); =============================
Does anyone knows another method that allows me to paste the text in the clipboard into my textbox?
Thanks
Hi Du Dang,
I cannot help you with that, but it raises a question: If IE (or any other browser) can monitor my clipboard, can it also send that content to every server without my knowledge? If so, I gonna be sick (again). Does somebody know if IE can monitor clipboardcontents without my
knowledge?
Regards, Erwin Moller This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: tabonni |
last post by:
Hello All
I am creating an ASP page. There are a list of filename and checkbox
next to it. When user checked all the documents they want and click
ADD TO CLIPBOARD button. All filepaths will be...
|
by: William Gill |
last post by:
Is there a simple way to cut and paste from a tkinter text widget to an
entry widget? I know I could create a mouse button event that triggers
a popup (message widget) prompting for cut/paste in...
|
by: Tor Inge Rislaa |
last post by:
Copy, Cut and Paste
How to code the Copy, Cut and Paste functionality in VB.NET. In VB 6.0 I
used the following code:
'For Copy
Clipboard.Clear
Clipboard.SetText...
|
by: Keith |
last post by:
I'm trying to come up with a way to create a contextmenu
that will do all the "standard" functions (cut, copy,
paste, undo, etc).
There seems to be a lot of information out there - but
nothing...
|
by: RobKinney1 |
last post by:
Hello,
I am looking for a clever way to prevent someone from pasting copied text
outside of my app.
I know how to monitor the clipboard and get an WM_DRAWCLIPBOARD message when
text is stored...
|
by: Ben R. |
last post by:
Hi,
I've got a vb.net winforms app. Out of the box, I can use Ctrl X, C and V as
expected in controls like textboxes. I've got a menustrip, and if I click the
link "Add standard items" which...
|
by: Steve |
last post by:
I'm trying to code cut, copy, and paste in vb 2005 so that when the user
clicks on a toolbar button, the cut/copy/paste will work with whatever
textbox the cursor is current located in (I have...
|
by: John |
last post by:
Hi
In a winform app I need to provide a menu with Cut, Copy and Paste options.,
What code do I use to accomplish cut, copy and paste features for fields on
a winfrom?
Thanks
Regards
|
by: jh |
last post by:
I'd like to copy/paste into a listbox during runtime. I can do this for a
textbox but can't figure out how to accomplish this for a listbox. Any
help? Thanks.
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |