{"id":24543,"date":"2007-11-12T10:00:00","date_gmt":"2007-11-12T10:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2007\/11\/12\/i-dont-know-what-the-lotus-internal-clipboard-formats-are-either\/"},"modified":"2007-11-12T10:00:00","modified_gmt":"2007-11-12T10:00:00","slug":"i-dont-know-what-the-lotus-internal-clipboard-formats-are-either","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20071112-00\/?p=24543","title":{"rendered":"I don&#039;t know what the Lotus internal clipboard formats are either"},"content":{"rendered":"<p>Apparently <a href=\"http:\/\/blogs.msdn.com\/oldnewthing\/pages\/407234.aspx#440399\"> some people think my psychic powers extend to being able to steal trade secrets by sheer force of concentration<\/a>.<\/p>\n<blockquote class=\"q\"><p>  I&#8217;ve been trying to write an application which allows to drag and drop documents from lotus notes. If I just drag and drop a document from lotus notes to Windows explorer, it creates a .shb file (regular windows document link file). Therefore I think it is possible to simulate this in a custom application as well. <\/p>\n<p> BTW: I found that lotus notes uses following list of clipboard formats for OLE drag drop.<br \/> Notes Private Data<br \/> Notes Private Link<br \/> Link Source Descriptor<br \/> Link Source <\/p>\n<p> I also think only the last two formats will be enough for the task I want to accomplish. In fact they are more likely to be windows OLE clipboard formats. However, these clipboard formats are not documented. <\/p>\n<p> I would be grateful if you could send me the definitions of data structures I could use to access data from these CFs.  <\/p>\n<\/blockquote>\n<p> (Here&#8217;s <a href=\"http:\/\/groups.google.com\/groups?selm=1159241674.655077.210330@b28g2000cwb.googlegroups.com\"> another example<\/a>.)\n I&#8217;m not sure why somebody who works for Microsoft is expected to be able to produce documentation on a Lotus Notes data structure.\n When you drag a COM object into an Explorer window on Windows&nbsp;XP, the resulting scrap file doesn&#8217;t understand the object you dropped. It just makes a copy of it. When you drag the scrap and drop it back into a document, the scrap merely spits back the data it was cloned from. But it doesn&#8217;t know what that data means.\n If you stick a piece of paper in a photocopier, it will produce a copy of the original document. But there&#8217;s no point asking the manufacturer of the copier, &#8220;I put this document written in French into your copier, and it made a copy. Can you tell me what it says? Obviously, you understand French because you were able to copy the document.&#8221;<\/p>\n<p> Reading the question again, perhaps the person is asking for documentation on Link Source Descriptor and Link Source. <a href=\"http:\/\/blogs.msdn.com\/oldnewthing\/archive\/2007\/05\/21\/2757223.aspx\"> Don&#8217;t be helpless<\/a>. I don&#8217;t know what they do either, but a little searching turns up <code>OBJECTDESCRIPTOR<\/code> for the link source descriptor. Link source is a little trickier, but from <a href=\"http:\/\/www.jeffscorner.homeip.net\/ftp\/Applications\/Productivity\/Programming\/Compilers\/Borland\/BC45\/SOURCE\/OCF\/BOCOLE\/BOLESITE.CPP\"> this page<\/a> it appears to be a serialized moniker. I have never worked with OLE embeddings; I don&#8217;t know any more than the next guy. Why don&#8217;t you go read about it and write a blog entry summarizing what you&#8217;ve learned? <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apparently some people think my psychic powers extend to being able to steal trade secrets by sheer force of concentration. I&#8217;ve been trying to write an application which allows to drag and drop documents from lotus notes. If I just drag and drop a document from lotus notes to Windows explorer, it creates a .shb [&hellip;]<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[25],"class_list":["post-24543","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-code"],"acf":[],"blog_post_summary":"<p>Apparently some people think my psychic powers extend to being able to steal trade secrets by sheer force of concentration. I&#8217;ve been trying to write an application which allows to drag and drop documents from lotus notes. If I just drag and drop a document from lotus notes to Windows explorer, it creates a .shb [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/24543","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=24543"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/24543\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=24543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=24543"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=24543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}