Search Result

Collapse
2 results in 0.0043 seconds.
Keywords
Members
Tags
word saveas 80020005
  •  

  • Type mismatch. (Exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH)) in c#

    This is my Coding.
    [code=c#]
    Application newApp = new Application();

    // Response.

    // specifying the Source & Target file names
    // c:\\abc\\Source .doc;
    object Source = "F:\\Gokulraj\\ doc2.doc";
    object Target = "F:\\Gokulraj\\ Temp\\gokul.pdf ";


    object Unknown = Type.Missing;
    ...
    See more | Go to post

  • mark13.pl@gmail.com
    Guest started a topic Problems with SaveAs

    Problems with SaveAs

    Hi,

    In word macro such thing worked perfectly:
    With ActiveDocument
    .SaveEncoding = msoEncodingUTF8
    .SaveAs FileName:="c:\t est.doc",
    FileFormat:=wdF ormatUnicodeTex t
    End With

    When I tried to use it in pure VB.net I put:

    oWord = CreateObject("W ord.Application ")
    With oWord.ActiveDoc ument
    .SaveEncoding = msoEncodingUTF8
    .SaveAs FileName:="c:\t est.doc",...
    See more | Go to post
Working...