Problem with version 7.1.0.303 in PowerBuilder 12.

I have this code in my application.

lb_DocumentOpened = ole_OfficeViewer.object.Open (“C:\Data\E2FTEMPGB50714\E2FEASSMPLVWGB5071420111018145647897.DOCX”, “Word.Document” )
lole_WordDocument = ole_OfficeViewer.object.ActiveDocument

lb_DocumentOpened is true so from the code it looks like the document is opened, but when I try to get the ActiveDocument it is null. The viewer is blank as well.

There used to be a couple settings in the old version that don’t work anymore such as

This.object.FrameHookPolicy = 1
this.object.ActivationPolicy = Parent.dsoKeepUIActiveOnAppDeactive

I don’t know if this has anything to do with it.