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

OLE and Office 2013

$
0
0

Hi all,

with Powerbuilder we are using OLE to create and later open MS Word documents for viewing. This works fine for several versions (2003, 2007, 2010).

Now while testing this feature against Office 2013 we have some problems with the following statements:

 

luo_vba_oleobject.application.documents.open(ls_path)

luo_vba_oleobject.application.activate()

luo_vba_oleobject.application.WindowState = 1  //

luo_vba_oleobject.application.documents.item(ls_filename).activate()

 

First statement works fine while all three of the next causing PB runtime errors.

 

Any thoughts about that?

 

Thanks,

Stefan

 


Viewing all articles
Browse latest Browse all 2935

Trending Articles



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