Hi,
I'm working with PowerPoint and I've got some code which copies a slide from one presentation and parts it into another. This works fine in VBA but in Pascal I often, but not always get an error message saying that the clipboard is empty. The paste command comes straight after the copy, but if I put a sleep 1500 in between, it's slow, but works.
I know from other languages and use of connections that I had to wait for the connection command to complete before going on to the next command and I'm thinking this might be the case here to.
Does anyone have any thoughts on this, and if it is likely to be this then how would I wait for the copy command to complete?
Many thanks