Results 1 to 3 of 3

Thread: Reading all files

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2002
    Posts
    65

    Reading all files

    Hi,

    I am trying to write a progam which will allow me to open any document (exe, damaged documents, jpeg) , and read any readable words. These readable words should be saved into a seperate text file.

    Can anyone advise me in how I can do this ?

    Any help is appreciated.

    Thanks,
    Windoz

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    How would you programatically define "readable words" ?
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3
    PowerPoster
    Join Date
    Aug 2001
    Location
    new jersey
    Posts
    2,904
    I have an old DOS program that does exactly that, but as jamie points out, you have to decide how you define "readable". The app I have is rather stupid and defines it as any three or more consecutive ASCII-coded letters, upper or lower case.

    You can do it by just reading the whole file into an array and then sweeping through and capturing, for example, any group of 3 or more letters

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