‎2011 Oct 04 12:16 PM
Hello,
when using the REPLACE method of I_OI_WORD_PROCESSOR_DOCUMENT, the screen with the word document starts flashing with every change made in the document. This is difficult for the user that has to generate this document very often.
Is ther a way to avoid this flashing?
Thanks.
Kris
‎2011 Oct 04 5:57 PM
Hi,
this is a well-known effect in OLE programming, it's easy to deactivate by deactivating the display during the execution of the commands.
But do you send and flush several times, or do you send only one command? In the latter case (it seems to be your case), I think you should check SAP notes or contact SAP support.
Sandra
‎2011 Oct 04 3:08 PM
Hi,
I guess this is a behaviour of the word processor. You should be able to disable this with some registry manipulation or by creating a macro in word itself... or perhaps just by changing the normal.dot template...
Kr,
m.
‎2011 Oct 04 5:57 PM
Hi,
this is a well-known effect in OLE programming, it's easy to deactivate by deactivating the display during the execution of the commands.
But do you send and flush several times, or do you send only one command? In the latter case (it seems to be your case), I think you should check SAP notes or contact SAP support.
Sandra
‎2011 Oct 04 6:42 PM
Hi,
Oh yes! Sorry... was thinking about other sort of blinkings
I don't think you can prevent that flush blink if you use a screen to handle user commands however. Even by passing the parameter no_flush to the method replace, there is still the automatic flush at end of PBO...
Kr,
m.
‎2011 Oct 04 6:54 PM
in OLE programming
to precise things, in MS Office applications I mean