Results 1 to 5 of 5

Thread: Loading .rtf files into a List/Combobox

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2003
    Posts
    27

    Loading .rtf files into a List/Combobox

    Hello,

    I would like to be able to load the contents of a directory that contains rtf files into a list box.. Then, while the user selects a item in the list box, or combo box (can be either one) the corresponding contents will be displayed in a non-editable text box. I’m totally confused on how to do this. Have read many posts and articles but all seem to more towards loading contents of a certain file.

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Here is a demo that shows you how to load specific files (based on extensions) in listbox . Change the path and the ext to fit your needs .
    Attached Files Attached Files

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2003
    Posts
    27
    Awsome thanks!

    That is somewhat close to what i needed . Now lets say one of the files selected is a rtf file (rich text file). Any idea on how to make it so that a text box will display those contents?

    Thanks again pirate i remember you helping me out quit a bit.

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Hmm , hold on I will give it a shot !

  5. #5
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    See this now...
    Attached Files Attached Files

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