Apr 262004
 

I think I found the problem of my “hanging” 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’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.
If I edit in the TRichViewEdit first, save it, and then open Word, things run smooth like a baby’s ass.

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:

1: The removal of the picture
2: Word behaving strangely when the picture is still in the document

Sometimes, life is not so sweet….

 Posted by at 23:41

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)