Sure, the way you have MainLoop; before oleTest(), the first button destroys the Tk event loop, leaving OLE to run unfettered.
Apparently the Tk eventloop and the way OLE runs, are not compatible, but I can't test that here. Usually, you would put your oleTest() into a separate thread, if it interferes with Tk's eventloop.
In reply to Re^3: TK and Word do not work together
by zentara
in thread TK and Word do not work together
by Bauldric
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |