Results 1 to 3 of 3

Thread: Saving a file in a notepad

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    Bombay
    Posts
    8

    Question

    Hi
    i have created an application like a notepad now i want to save the contents typed in by the user into a file like a .txt or .doc file. when the user clicks on the save option of the menu.
    Kanchan

  2. #2
    Addicted Member c@lle's Avatar
    Join Date
    Oct 1999
    Location
    Belgium
    Posts
    179
    this is a forum with a LOT of information. So if you need to know something like this, you can always search the content.

    Take a look at the 'topic areas' -> 'File/Directory'
    and then 'handling files in vb'

    hth.

  3. #3
    Addicted Member morphman2000's Avatar
    Join Date
    Oct 2000
    Location
    Europe, The Netherlands
    Posts
    254

    Red face Common dialog control

    You can do it by:

    Open "filename.txt" for output as #1
    print #1, [content line1]

    if done printing(copy to the file) the lines

    close #1

    You can also take a look at the "microsoft common dialog control"

    It has the common dialogs like "save", "open", "print" in it.

    Succes,

    Dennie

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