Quantcast
Channel: SCN : Discussion List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2881

Powerbuiler OLE

$
0
0

Dear all,

 

I have an olecontrol inserted in a window.

On a button I execute the following code:

 

string s="c:\testA.docx"

 

ole_1.displayname=s

ole_1.LinkTo(s)

ole_1.activate(offsite!)

ole_1.saveas("c:\testB.docx"

 

 

testB.docx will be created but when double clicking to open the file, ms word complains that is corrupted!!

Why??

 

 

my environement is :

 

Office 2010

PB 12.5.2 lastes update

 

Any help would be much appreciated.

 

Thank you,

Frank


Viewing all articles
Browse latest Browse all 2881

Trending Articles



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