473,395 Members | 1,931 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Control Clipboard in ASP

Is there a way to pass a string to the clipboard in ASP?

I thought it would be a simple matter of referencing Windows.Forms but
apparently it cannot be done from a web page. Is there another method to use
that will pass data from the page to the clipboard?
--
Regards,
Jamie
Jun 27 '08 #1
3 1090
On Wed, 25 Jun 2008 10:00:14 -0700, thejamie
<th******@discussions.microsoft.comwrote:
Is there a way to pass a string to the clipboard in ASP?

I thought it would be a simple matter of referencing Windows.Forms but
apparently it cannot be done from a web page. Is there another method
to use
that will pass data from the page to the clipboard?
There must be, since AFAIK you can do anything in ASP that you could do
with regular HTML, and since the tinyurl.com web site copies the results
of their processing to the clipboard for you.

For more details, you'll probably want to look at the HTML they generate
and see how they're doing it.

Pete
Jun 27 '08 #2
On Jun 25, 1:00 pm, thejamie <theja...@discussions.microsoft.com>
wrote:
Is there a way to pass a string to the clipboard in ASP?

I thought it would be a simple matter of referencing Windows.Forms but
apparently it cannot be done from a web page. Is there another method to use
that will pass data from the page to the clipboard?
--
Regards,
Jamie
You should be able to do so in JS. I am not sure if it is enabled by
default in most browsers.

http://www.dynamic-tools.net/toolbox/copyToClipboard/

http://support.mozilla.com/en-US/kb/...+the+clipboard
Jun 27 '08 #3
On Jun 25, 1:00*pm, thejamie <theja...@discussions.microsoft.com>
wrote:
Is there a way to pass a string to the clipboard in ASP?

I thought it would be a simple matter of referencing Windows.Forms but
apparently it cannot be done from a web page. *Is there another method to use
that will pass data from the page to the clipboard?
--
Regards,
Jamie
Hi,

Web & Win are two different platform and even as there are casess that
you need to use namespaces in the other platform the UI is not usable.

Besides, what makes you think that the OS where the browser is
running has a clipboard in the first place? :)
Anyway, check a javascript NG as I think that IE has such a feature
Jun 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: LG | last post by:
Just have a question with regards to the clipboard, and how to read what other applications (Adobe InDesignCS) place in the clipboard. I am currently in the process of creating a booklet from a...
0
by: TC | last post by:
Hello, Here is what I'm trying to do: -- Make sure both MS Excel and MS Word are running -- Create an Excel chart -- Save the Excel file -- Copy the Excel chart onto the clipboard using Ctrl...
5
by: TC | last post by:
Hello, Here is what I'm trying to do: -- Make sure both MS Excel and MS Word are running -- Create an Excel chart -- Save the Excel file -- Copy the Excel chart onto the clipboard using Ctrl...
3
by: keith | last post by:
I can use following codes to set and get object (serializable class) from Clipboar Clipboard.SetDataObject(obj) then DataObject data=new DataObject()...
4
by: Jason Sobell | last post by:
I'm trying to embed an image in an RTF control, but the only working method I can find is to do so via the clipboard and use myRTF.paste(). The problem here is that it obviously destroys the...
2
by: Ike | last post by:
In converting a VB6 app over to .NET, I encounter a particularly troublesome element regarding RichText. Private Sub mnuEditCopy_Click() Clipboard.SetText ActiveForm.rtfText.SelRTF End Sub ...
0
by: | last post by:
I'm trying to capture the rendered text in browser control (Without the HTML). One of the methods I tried was to send keys to the browser control - copy it to the clipboard and then get the text...
4
by: TheGanjaMan | last post by:
Hi everyone, I'm trying to code an event and seem to be stuck on something that might seem pretty simple (I am a newbie...) I have two textboxes on a form, I have a button on a form that is...
3
by: Fritz Switzer | last post by:
I'm trying to AppendText to a TextEdit. I have a procedure that will go through the controls on a Windows form and return the control that has "focus". I have a number of TextEdits on my form...
2
by: crapycoder | last post by:
hi all, please help....!! i have added a kodak image edit control on my form. when i click get image button, "abc.img" will be displayed. i have a button named "copy to clipboard". when...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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...
0
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
1
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...
0
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.