Skip to Content

Check Running Applications on the client PC using ABAP

I am developing a program with OLE2OBJECT for processing the MS word file. But, The system sometimes process already opened word file instead of the desired file. So, I want to check in the beginning of my program, if MS word is already running or not. How can I check this.

Regards,

Dipeshkumar Bhavsar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 08 at 07:04 AM

    Usually solved with method get 'GetObject' on 'Word.Application' , if assign successfull (and '.Documents.count.' > 0) then Word is already running (with at least one opened document) else use 'CreateObject'. (But usually in some VBscript, CL_GUI_FRONTEND_SERVICES=>EXECUTE, etc.)


    Add comment
    10|10000 characters needed characters exceeded