Com-handle in runtime vs development

JMA

New Member
Can someone help me

I have an appllication wich starts MsWord with a com-handle.

create "Word.Application" applic CONNECT NO-ERROR.

After the connect I make Word visible and open a .DOT file.
applic:Visible() = True
chdoc = applic:documents:ADD(lo_fullpad)
where lo_fullpad is the .DOT file.

When I'm in my development enviroment (Progress V8.3, Windows NT, Office 97 )it works fine. When I try it in a runtime enviroment (Progress V8.3, Windows NT, Office 97) it crashes.

"Error occured while accessing component/property method :ADD

Running in a runtime enviroment with Windows 98 it works also.



create "Word.Application" applic CONNECT NO-ERROR.
 
Back
Top