CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 1999
    Location
    California, USA
    Posts
    40

    How the **** do i save to a **** simple txt file for crying out loud!!!!!

    I JUST WANT TO SAVE TO A TEXT FILE!!!!! HOW DO I DO THAT!!!! I DONT WANT ALL THAT STUPID **** THAT I DONT NEED, ALL I WANT IT THE **** SIMPLE ANSWER, THANK YOU

    PanasonicSubz

  2. #2
    Guest

    Re: How the **** do i save to a **** simple txt file for crying out loud!!!!!

    WHELP YOU HAVE TO FIND THE BINARY (8432652873) THEN YOU HAVE TO LEARN HOW TO PROGRAM LIKE ME.


  3. #3
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: How the **** do i save to a **** simple txt file for crying out loud!!!!!

    That's a sure way to get your question answered.

    The help that comes with VB gives numerous examples of how to save to a file, but as you seem to be having so much trouble :


    Dim iFile as Integer
    Dim sText as string
    '
    sText = "this is a test to save to file"
    '
    iFile = FreeFile
    '
    Open "c:\test.dat" for Output as iFile
    print #iFile, sText
    Close #iFile
    '





    Chris Eastwood

    CodeGuru - the website for developers
    http://codeguru.developer.com/vb

  4. #4
    Join Date
    Apr 1999
    Location
    Netherlands
    Posts
    181

    Re: How the **** do i save to a **** simple txt file for crying out loud!!!!!

    "That's a sure way to get your question answered."
    Well Chris, you *did* answer :-)

    Crazy D @ Work :-)

  5. #5
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: How the **** do i save to a **** simple txt file for crying out loud!!!!!

    Of course ! The poor guy seems to be struggling with the F1 key and shouting / swearing is <sarcasm>always</sarcasm> a good way to get a response.


    Chris Eastwood

    CodeGuru - the website for developers
    http://codeguru.developer.com/vb

  6. #6
    Join Date
    May 1999
    Location
    Omika, Japan
    Posts
    729

    Re: How the **** do i save to a **** simple txt file for crying out loud!!!!!

    infact somebody "Anonymous" had answered his similar post!!
    http://www.codeguru.com/bbs/wt/showp...collapsed&sb=5
    but he seems to have neglected it!

    RK

  7. #7
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: How the **** do i save to a **** simple txt file for crying out loud!!!!!

    I think that's the one he refers to as :

    >I DONT WANT ALL THAT STUPID SH1T THAT I DONT NEED, ALL I WANT IT THE **** SIMPLE ANSWER, <

    - It was obviously way too complicated - open a file, write to it, close it. Hmmmm


    Chris Eastwood

    CodeGuru - the website for developers
    http://codeguru.developer.com/vb

  8. #8
    Join Date
    Apr 1999
    Location
    Netherlands
    Posts
    181

    Re: How the **** do i save to a **** simple txt file for crying out loud!!!!!

    And you know how hard it is to press the F1 key... it's less work to start the browser, go to this site, and enter the question. Oh yeah, and in capitals, so at least he knows where the capslock key is (little hint: 3 keys above the capslock is the escape key, the text on the button usually says 'Esc', at the right of that key, you'll find the F1 key (it usually has the text 'F1' printed on it). If you had an Apple, there would be a big red circle around it right now...

    Crazy D @ Work :-)

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