Re: How to get the contnet of clipboard
- From: "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx>
- Date: Wed, 23 Nov 2005 06:13:35 -0400
re:
> Hmm, maybe i was to harsh.
Nah, you weren't "harsh". You were mistaken.
I know it's hard to accept that sometimes.
re:
> It must be seen as local stuff.
That task is not simply "local stuff". There's a server involved.
Passing the contents of a client's clipboard to an IIS server
running ASP.NET is not a trivial undertaking. Not in the least.
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Edwin Knoppert" <news@xxxxxxxxxxxxxx> wrote in message
news:43843c2e$0$2337$ba620dc5@xxxxxxxxxxxxxxxxxxxxxx
> Hmm, maybe i was to harsh.
> But you get the idea.
> It must be seen as local stuff.
>
>
> "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> schreef in bericht
> news:ucrg1pA8FHA.252@xxxxxxxxxxxxxxxxxxxxxxx
>>I would have liked to see sample code for doing that,
>> in ASP.NET, if it's that easy.
>>
>> Maybe you didn't take into account that the clipboard class
>> is in the System.Windows.Forms namespace ( which, as
>> Craig told you, cannot be accessed by ASP.NET server-side ) ?
>>
>> Even if it were to be accessed, it would be the *server's* clipboard
>> that's accessed, if this thing is running server-side, wouldn't it ?
>>
>> So, that leaves, as the only alternative, to write a client-side program
>> which captures client data, in sync with the current ASP.NET context,
>> have the user install it and run it so that the correct data is captured client-side,
>> and figure out a way to insert the clipboard's contents to the server, in context
>> with the current request.
>>
>> That last part doesn't seem too complicated, although it's certainly not "easy".
>>
>> The first part certainly is complicated, and that's why I wondered why you
>> described the procedure as "once obtained it is easy to transmit to the server".
>>
>> That "once obtained" is what you overlooked.
>>
>>
>>
>> Juan T. Llibre, ASP.NET MVP
>> ASP.NET FAQ : http://asp.net.do/faq/
>> ASPNETFAQ.COM : http://www.aspnetfaq.com/
>> Foros de ASP.NET en Español : http://asp.net.do/foros/
>> ======================================
>> "Edwin Knoppert" <info@xxxxxxxxxxxxxxxxxxx> wrote in message
>> news:dm0ilh$k67$1@xxxxxxxxxxxxxxxxxx
>>>I did see this work on a live website, not mine.
>>> It did work.
>>> It was there to proof that the CB could be read.
>>
>>> "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> schreef in bericht
>>> news:ugb7t367FHA.1864@xxxxxxxxxxxxxxxxxxxxxxx
>>>> re:
>>>>> MSIE supports obtaining the user's clipboard.
>>>>> Once obtained it is easy to transmit to the server.
>>>>
>>>> Please post sample code.
>>>>
>>>> Juan T. Llibre, ASP.NET MVP
>>>> ASP.NET FAQ : http://asp.net.do/faq/
>>>> ASPNETFAQ.COM : http://www.aspnetfaq.com/
>>>> Foros de ASP.NET en Español : http://asp.net.do/foros/
>>>> ======================================
>>>> "Edwin Knoppert" <info@xxxxxxxxxxxxxxxxxxx> wrote in message
>>>> news:dm026q$gjh$1@xxxxxxxxxxxxxxxxxx
>>>>> MSIE supports obtaining the user's clipboard.
>>>>> Once obtained it is easy to transmit to the server.
>>>>>
>>>>>
>>>>> "Craig Deelsnyder" <cdeelsny@xxxxxxxxxxxxxxxxxxxxx> schreef in bericht
>>>>> news:uHJttk67FHA.2616@xxxxxxxxxxxxxxxxxxxxxxx
>>>>>> ad wrote:
>>>>>>> Hi,
>>>>>>> How can we get the content of clipboard with program?
>>>>>>
>>>>>> client-side (on the user's PC): you can't. you don't have access to it...
>>>>>> server-side:
>>>>>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformsclipboardclasstopic.asp
>>>>>>
>>>>>> --
>>>>>> craig
>>>>>> Microsoft MVP - ASP/ASP.NET
>>
>>
>
>
.
- Follow-Ups:
- Re: How to get the contnet of clipboard
- From: Edwin Knoppert
- Re: How to get the contnet of clipboard
- References:
- How to get the contnet of clipboard
- From: ad
- Re: How to get the contnet of clipboard
- From: Craig Deelsnyder
- Re: How to get the contnet of clipboard
- From: Edwin Knoppert
- Re: How to get the contnet of clipboard
- From: Juan T. Llibre
- Re: How to get the contnet of clipboard
- From: Edwin Knoppert
- Re: How to get the contnet of clipboard
- From: Juan T. Llibre
- Re: How to get the contnet of clipboard
- From: Edwin Knoppert
- How to get the contnet of clipboard
- Prev by Date: Stack overflow error on win 2k3 server.. please help
- Next by Date: Re: How to get two-way databinding work in codebehind (2.0)?
- Previous by thread: Re: How to get the contnet of clipboard
- Next by thread: Re: How to get the contnet of clipboard
- Index(es):
Relevant Pages
|