473,226 Members | 1,565 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,226 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 1085
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: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...

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.