Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. My turn on MS Bashing

My turn on MS Bashing

Scheduled Pinned Locked Moved The Weird and The Wonderful
csharpphphtmlasp-netvisual-studio
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    peterchen
    wrote on last edited by
    #1

    I usually tend to point out the method in the madness, but this one takes the "stupid by design" label: CF_HTML Example[^]

    Version:0.9
    StartHTML:71
    EndHTML:170
    StartFragment:140
    EndFragment:160
    StartSelection:140
    EndSelection:160
    <!DOCTYPE>
    <HTML>
    <HEAD>
    <TITLE>The HTML Clipboard</TITLE>
    <BASE HREF="http://sample/specs">
    </HEAD>
    <BODY>
    <!--StartFragment -->
    <P>The Fragment</P>
    <!--EndFragment -->
    </BODY>
    </HTML>

    Yes, the offsets are "Byte count since the start of the clipboard". Which includes the text representation of the byte counts... A KB article shows that you can use leading zeroes, otherwise you'd have to iterate until you got it right. Still, a format purely designed by a "we sould make it simple" receiver. Never mind the caller.

    Agh! Reality! My Archnemesis![^]
    | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server.

    modified on Thursday, July 8, 2010 9:50 AM

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups