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

    HELP!!! How to open files of any format in my application?

    Hi,

    I derived my CView class from CEditView. my program is able to open small text files but if i try to open any other formats, it is
    unable to open them. what should i add so that it would be able to open any file format like in wordpad? Please help

    Raphael


  2. #2
    Join Date
    Apr 1999
    Posts
    24

    Re: HELP!!! How to open files of any format in my application?

    CRichEdit


  3. #3
    Join Date
    Apr 1999
    Posts
    9

    Re: HELP!!! How to open files of any format in my application?

    Hi,

    My applications contains a lot of source codes now so is there an easy way to directly edit some of the functions in CView class so that it derives from CRichEdit?

    also, i tried to create a new application, deriving it from CRichEditView and i could open any file, except that no contents are displayed, only a blank document. Please help

    Raphael


  4. #4
    Join Date
    May 1999
    Location
    Atlanta, GA, USA
    Posts
    443

    Re: Check the code of Wordpad

    Hi.

    You can get sample code of Wordpad.
    Use MSDN help to get this.
    Use Search and type Wordpad.

    Hope for help.
    -Masaaki Onishi-


  5. #5
    Join Date
    Apr 1999
    Posts
    9

    Re: Check the code of Wordpad

    Hi,

    thank you but I have already gone through the code. and everything is so complex because there are more than 10 classes that i do not know where to start. how do we normally display the contents of a file when the user clicks File-Open?


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