using the server clipboard

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default using the server clipboard

    I have been using the windows clipboard during some SERVER processing on a
    page request. It has worked on another machine but now calling
    Clipboard.GetDataObject() returns null. The code is executed in an
    impersonation block (currenlty me as a machine admin).

    Are there any settings (security?) that I need to set to make it work again.

    windows 2000, ISS5, Framework 1.1, VS 2003

    adam

    p.s. all this is on the SERVER I am NOT trying to move data from the client
    to the server.


    adam Guest

  2. Similar Questions and Discussions

    1. What is Contribute doing to my clipboard?
      Hello, I am not really a user of Contribute, but I have CS3, so I have it available to me. Unfortunately, I think it's causing me more grief than...
    2. [RFC] IO::Clipboard
      All, It occurred to me that given Ryan King's Clipboard module, an IO::Clipboard module wouldn't be too hard. First cut: it's a subclass of...
    3. Clipboard is bent
      -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Aug 05, 2003 at 09:16:29PM +1200, cr wrote: KDE, Gnome and X all impliment their own...
    4. Deleting A Clipboard
      How do I delete something from my Clipboard because I cannot to be able too? Can siomeone please help me figure this out?
    5. Clipboard
      I cannot find my clipboard
  3. #2

    Default Re: using the server clipboard

    well not quite the worst. I'm sure if we put our heads together we could
    produce something more convoluted and fragile :) However the code (that did
    work on another machine) uses the clipboard to get some text from an
    automated word application (I know this is not recommended and no, I will
    never let it happen again). The text is grabbed via the clipboard to get
    the HTML fragment which contains more useful information than the Text
    property of the selection. This is for an existing product not a new build.

    I think I have decided it will be quicker to try another solution that I'm
    making up in my head now.

    cheers,

    adam

    "Kevin Spencer" <kevin@takempis.com> wrote in message
    news:einLNJDXDHA.2568@tk2msftngp13.phx.gbl...
    > If all this is on the server, why are you using the ClipBoard? You have
    all
    > kinds of memory space to store and retrieve data from. The ClipBoard is
    > about the worst possible one I can think of to use.
    >
    > --
    > HTH,
    >
    > Kevin Spencer
    > Microsoft MVP
    > .Net Developer
    > [url]http://www.takempis.com[/url]
    > Complex things are made up of
    > lots of simple things.
    >
    > "adam" <nospam@msdn-beacon-ct.co.uk> wrote in message
    > news:eIalolCXDHA.1744@TK2MSFTNGP12.phx.gbl...
    > > I have been using the windows clipboard during some SERVER processing on
    a
    > > page request. It has worked on another machine but now calling
    > > Clipboard.GetDataObject() returns null. The code is executed in an
    > > impersonation block (currenlty me as a machine admin).
    > >
    > > Are there any settings (security?) that I need to set to make it work
    > again.
    > >
    > > windows 2000, ISS5, Framework 1.1, VS 2003
    > >
    > > adam
    > >
    > > p.s. all this is on the SERVER I am NOT trying to move data from the
    > client
    > > to the server.
    > >
    > >
    >
    >

    adam Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139