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

    question by new user

    This is what I want to do: create a box (just like when you enter your user name in
    www.hotmail.com) let the users enter some text and click a botton (just like what
    the "sent" botton do) . then the program will
    save the text the users have entered into a notepad text file.
    this is just like what we use in UNIX, fwrite() function.


    From Alan.

  2. #2
    Join Date
    May 1999
    Location
    UK
    Posts
    65

    Re: question by new user

    Hello,

    You want to have a look at the CFile class which makes things easier than fopen, fwrite etc.

    As for the dialog, just use a CEdit control and use UpdateData(FALSE) to read the information to your Variable, (If your using MFC) Otherwise you'll need to do it the hard way

    Jason
    http://www.netcomuk.co.uk/~jbrooks


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