Z
zdjxy
Unregistered / Unconfirmed
GUEST, unregistred user!
wordThd := TWordActiveThread.Create(oleWord,'e:/sample.word');
if not postThreadMessage(wordThd.ThreadID,MSG_ACTIVEWORD,0,0) then
begin
sleep(100);
postThreadMessage(wordThd.ThreadID,MSG_ACTIVEWORD,0,0);
end;
if not postThreadMessage(wordThd.ThreadID,MSG_ACTIVEWORD,0,0) then
begin
sleep(100);
postThreadMessage(wordThd.ThreadID,MSG_ACTIVEWORD,0,0);
end;