{"id":229,"date":"2004-04-26T23:41:22","date_gmt":"2004-04-26T21:41:22","guid":{"rendered":"http:\/\/10.0.0.2\/wordpress\/?p=229"},"modified":"2004-04-26T23:41:22","modified_gmt":"2004-04-26T21:41:22","slug":"shellexecute-problem-found","status":"publish","type":"post","link":"https:\/\/www.switchbl8.nl\/blog\/2004\/04\/shellexecute-problem-found\/","title":{"rendered":"ShellExecute problem found"},"content":{"rendered":"<p>I think I found the problem of my &#8220;hanging&#8221; ShellExecute. In my application I have a TRichViewEdit in which the user can do basic editing. If the user needs more, he presses the Word button, that will start Word with the appropriate document.<\/p>\n<p>If I don&#8217;t edit in the TRichView first, and go straight to Word, any attempt to close Word normally fails. Taskmanager etc will work, but that will cancel all editing.<br \/>\nIf I edit in the TRichViewEdit first, save it, and then open Word, things run smooth like a baby&#8217;s ass.<\/p>\n<p>The difficult part is this: the TRichViewEdit REMOVES a graphic that is in the Header of the Word document. So I have 2 things to solve:<\/p>\n<p>1: The removal of the picture<br \/>\n2: Word behaving strangely when the picture is still in the document<\/p>\n<p>Sometimes, life is not so sweet&#8230;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I think I found the problem of my &#8220;hanging&#8221; ShellExecute. In my application I have a TRichViewEdit in which the user can do basic editing. If the user needs more, he presses the Word button, that will start Word with the appropriate document. If I don&#8217;t edit in the TRichView first, and go straight to <a href='https:\/\/www.switchbl8.nl\/blog\/2004\/04\/shellexecute-problem-found\/' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,41,26],"tags":[],"class_list":["post-229","post","type-post","status-publish","format-standard","hentry","category-business","category-delphi","category-rare-it-services","category-5-id","category-41-id","category-26-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/comments?post=229"}],"version-history":[{"count":0,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/229\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/media?parent=229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/categories?post=229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/tags?post=229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}