Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

Word OLE Automation

$
0
0

Hi All,

 

I have the below scenario.Can any one please suggest a solution.

 

I created a variable for OLE object , iole_word_application, and started MS Word with it.

 

iole_word_application.ConnectToNewObject("Word.Application")

 

Lets say I closed this MS Word instance accidenally, not through automation but manually.

 

Now how can I validate through my OLE object variable, iole_word_application,if MS word is still open?

If MS word is no longer open, I will not try the rest of the automation but will re start MS word.

 

Best Regards,

Kiran


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>