Results 1 to 2 of 2

Thread: I have a program...

  1. #1

    Thread Starter
    Addicted Member _skrying's Avatar
    Join Date
    Mar 2004
    Location
    Hell, US
    Posts
    168

    I have a program...

    I have a little memo making program to make simple memos that saves a memo into the registry. I want to expand my program by making multiple memos available for save.

    What I want to do is:

    have a listbox listing the memos that have been saved
    have a command button that loads the selected memo
    have a command button that saves the memo in the text1.text section.


    what i do not know how to do is save the text1.text as a file and list it into the list box. i want to have more than one so what could i do?

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343
    File functions to read up on:

    dir$(<path>,63)
    open <filenameinclpath> for input/output as #1
    print #1,<stringoutput>
    close #1
    kill <path>


    Post up once you have read these and tried some code.


    Vince

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

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