• michaael_l
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hello everybody
I have a problem with accesing a ms word document from within S-control

     var w=new ActiveXObject('Word.Application');
var docText;
var documentUrl="/servlet/servlet.FileDownload?file=01570000000ZGR2";
var obj;
if (w != null)
    {
    w.Visible = true;
    w.Documents.Open(documentUrl);

I get "file is corrupted" error, but if i download and open the file that URL points to it works fine...
Anybody now a way around it?
Hello everybody
I have a problem with accesing a ms word document from within S-control

     var w=new ActiveXObject('Word.Application');
var docText;
var documentUrl="/servlet/servlet.FileDownload?file=01570000000ZGR2";
var obj;
if (w != null)
    {
    w.Visible = true;
    w.Documents.Open(documentUrl);

I get "file is corrupted" error, but if i download and open the file that URL points to it works fine...
Anybody now a way around it?