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

    Save 3 textboxes............

    I want when the user clicks on "Save As" button, it saves 3 textboxes as 1 file,and also saves the text in the textboxes as 3 different *.js files. Like a visual basic project. Please help, I'll give ratings of 10.

    --Ant
    --------------------------------------------------
    check out my newest freeware
    E-mail me at: [email protected]
    for the address

  2. #2
    Join Date
    Jul 1999
    Posts
    84

    Re: Save 3 textboxes............

    Hello,

    I'm interested in the ratings, but try using Richtextboxes as they give you the option of saving to files.


    Thanks
    Harini

  3. #3
    Join Date
    Jul 1999
    Posts
    84

    Re: Save 3 textboxes............

    Hello,

    I'm not interested in the ratings, but try using Richtextboxes as they give you the option of saving to files.


    Thanks
    Harini

  4. #4
    Join Date
    Mar 1999
    Location
    Nepal
    Posts
    540

    Re: Save 3 textboxes............


    open "all.txt" for output as #1
    print #1, text1.text & text2.text & text3.text
    close #1
    open "file1.js" for output as #1
    print #1, text1.text
    close #1
    open "file2.js" for output as #1
    print #1, text2.text
    close #1
    open "file3.js" for output as #1
    print #1, text3.text
    close #1





  5. #5
    Join Date
    May 2001
    Posts
    155

    Re: Save 3 textboxes............

    how do i make it so that it loads whichever file the user saved the 3 files as?

    --Ant
    --------------------------------------------------
    check out my newest freeware
    E-mail me at: [email protected]
    for the address

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