Opening a txt file to view ( i.e. readme.txt)

Discussion in 'C++' started by Sameen, Aug 29, 2005.

  1. Sameen

    Sameen Guest

    I am writing a program in Visual C++ 6.0. It has a GUI with a bunch of
    buttons. I want to be able to allow the user to view a txt version of a
    readme of help file to provide information on the functions of the
    buttons. I want have a menu option on the main menu to open this text
    file for viewing.

    Is there anyway I can do this using C++?
     
    Sameen, Aug 29, 2005
    #1
    1. Advertisements

  2. Sameen

    msalters Guest

    Re: Opening a txt file to view ( i.e. readme.txt)

    Sameen schreef:

    > I am writing a program in Visual C++ 6.0. It has a GUI with a bunch of
    > buttons. I want to be able to allow the user to view a txt version of a
    > readme of help file to provide information on the functions of the
    > buttons. I want have a menu option on the main menu to open this text
    > file for viewing.
    >
    > Is there anyway I can do this using C++?


    Yes. The GUI parts should be done with your GUI libs (MFC or plain
    windows) but the file part is standard C++.

    HTH,
    Michiel Salters
     
    msalters, Aug 29, 2005
    #2
    1. Advertisements

  3. Sameen wrote:
    > I am writing a program in Visual C++ 6.0. It has a GUI with a bunch of
    > buttons. I want to be able to allow the user to view a txt version of a
    > readme of help file to provide information on the functions of the
    > buttons. I want have a menu option on the main menu to open this text
    > file for viewing.
    >
    > Is there anyway I can do this using C++?
    >


    Yes and no. You cannot do it using only the _standard_ C++ means. You
    should be able to write a C++ program that would use Windows API to do
    what you want, but it's OT in this newsgroup. Try a newsgroup with the
    'windows' in its name.

    V
     
    Victor Bazarov, Aug 29, 2005
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?dmluYXk=?=

    opening a .TXT file

    =?Utf-8?B?dmluYXk=?=, Dec 17, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    2,205
    King.krto
    Mar 12, 2009
  2. Phlip
    Replies:
    8
    Views:
    698
    Phlip
    May 12, 2010
  3. Parthiv Joshi
    Replies:
    1
    Views:
    1,107
    Samuel L Matzen
    Jul 6, 2004
  4. Daniel Kelley

    [PATCH] Minor fix in README.EXT

    Daniel Kelley, Apr 26, 2004, in forum: Ruby
    Replies:
    0
    Views:
    227
    Daniel Kelley
    Apr 26, 2004
  5. Joel VanderWerf

    clarify README.EXT regarding symbols

    Joel VanderWerf, May 31, 2004, in forum: Ruby
    Replies:
    0
    Views:
    184
    Joel VanderWerf
    May 31, 2004
  6. Trans

    .txt on README?

    Trans, Oct 29, 2007, in forum: Ruby
    Replies:
    4
    Views:
    227
    Trans
    Oct 30, 2007
  7. Jesper Rønn-Jensen
    Replies:
    4
    Views:
    328
    Joel VanderWerf
    Feb 22, 2008
  8. Raj Singh
    Replies:
    3
    Views:
    224
    John Barnette
    Jun 16, 2009
Loading...