Re: How to get the contnet of clipboard

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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
>>
>>
>
>


.



Relevant Pages

  • Re: Exchange - Pop 3 - SMTP
    ... Hmm hab ich noch nicht probiert, könnte ich indem Fall ja auch mal Testen, ... > Exchange CAL brauchst? ... Der mitgelieferte Pop3 Server, hmm den hab ich noch nicht probiert, wie ... Du meinst ja nicht den Pop3 Connection Manager oder? ...
    (microsoft.public.de.exchange)
  • Re: cvs-src summary for August 23-30
    ... Hmm, I have FreeBSD BETA1 laptop hooked to my FreeBSD-BETA2desktop ... as the server and they're both working very nicely. ... changelog entry "Fixes for FreeBSD." ...
    (freebsd-current)
  • Re: dawkins, hitchens, atheism and christianity
    ... Hmm, posted this before and it never showed up. ... I think my ISP's news ... server is having issues. ... de Paiwas, Nicaragua. ...
    (talk.origins)
  • Re: How to get the contnet of clipboard
    ... If you have the CB text you can invoke a post to the server. ... maybe i was to harsh. ... >>> which captures client data, in sync with the current ASP.NET context, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: XP Pro cant join W2K domain, or get to internet
    ... enabled NetBIOS, it joined fine. ... other thing I tried was using the DNS numbers from the ISP, ... Date and time match the server within about 1 minute now. ... HMM, that looks like it wasn't set up correctly. ...
    (microsoft.public.windows.server.general)