CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 1999
    Posts
    21

    Problems with OLE Container Control

    Hi,
    I have recently added an OLE Container Control. However, when I used the "Readfromfile" and "savetofile" methods of Ole container, I realised that it saves as .ole file. Besides saving as an .ole file, is there anyway I can save it as a .doc file using the "readfromfile" and "savetofile" methods?

    Thanks in advance!


  2. #2
    Join Date
    Oct 2001
    Posts
    140

    same problem here...

    i have the same problem too....

    i have all kinds of office file (.xls, .doc, .ppt) in .ole format in one forlder, and i need to save them back in their original format...

    how can i do that?

  3. #3
    Join Date
    Sep 2006
    Posts
    635

    Re: Problems with OLE Container Control

    I think, it can be the solution :
    Code:
    ole.object.SaveAs ("c\:myfile.doc")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured