none
wordApp.Documents.Open ( ref filename ) , want to pass memory stream instead of ref filename RRS feed

  • Question

  • Hi ,
    i am using microsoft.office.Interop.Word.Application object  for open/save word doc,

    i have memorystream object ms , i want to pass memmory stream rather than string filename, when i am passing i am getting error, why

    doc = wordApp.Documents.Open(

    ref filename/(want to pass)ms, ref missing, ref objFalse, ref missing,

     

    ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref objFalse,

     

    ref missing, ref missing, ref missing, ref missing);

    Monday, January 4, 2010 5:54 PM

Answers

  • Hi ashokapex,

    Thanks for your posting.

    This forum is focusing on Open XML SDK. Your qestion seems not related to the topics here. Your might have to find another forum such as Visual Studio Tools for Office to get more helpful information for your question.

    Thanks,

    Lu
    • Marked as answer by Jumpingboy Thursday, February 11, 2010 3:34 PM
    Thursday, January 21, 2010 7:13 AM