Results 1 to 15 of 15

Thread: VB6 ====Rhyme Generator====

  1. #1

    Thread Starter
    Fanatic Member paralinx's Avatar
    Join Date
    Jun 2005
    Location
    Michigan
    Posts
    987

    VB6 ====Rhyme Generator====

    The following project in the attachments will find words that rhyme with a desired word. I have never seen this before and I think it will be a nice addition to some of your projects as it was to mine.

    *Special thanks to shirazamod for his input of code into this project


    Enjoy!

    Ok The .zip file that says "rhyme generator fixed" is the final version with all the corrections thanks to thegreatone for finding these errors!
    Attached Files Attached Files
    Last edited by paralinx; Oct 25th, 2005 at 02:05 PM.

  2. #2
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: ====Rhyme Generator====

    One suggestion, make the Command button the forms default button, this way simply hitting enter after typing a word will search the word, this increases usability

    Oh, and the parsing of words is slightly out, but thats fine.

    Good job
    Never seen it done before, so well done.

    Oh, wait... when i run i get an error "380" "Invalid Porperty Value"
    But adding On error resume next to the Web download complete sub resolves this issue.
    Zeegnahtuer?

  3. #3

    Thread Starter
    Fanatic Member paralinx's Avatar
    Join Date
    Jun 2005
    Location
    Michigan
    Posts
    987

    Re: ====Rhyme Generator====

    Whats slightly out on the parsing?

  4. #4
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: ====Rhyme Generator====

    For example, searching for the rhymes for Bin produces the follwoing -

    Code:
      Related  been  bihn  binn  blinn  brin  brinn  bryn  chin  chinh  chinn  din  dinh  fin  finn  finne  flinn  flynn  gin  ginn  glyn  glynn  grin  guin  guinn  gwin  gwinn  gwyn  gwynn  gwynne  gyn  hinn  in  in.  inn  jin  kihn  kin  kinn  kinne  lin  linh  linn  linne  lwin  lyn  lynn  lynne  mihn  min  minh  pin  pinn  prynne  qin  quin  quinn  rhin  rihn  rinn  rinne  schwinn  shin  shinn  sin  sinn  skin  spin  syn  thin  tin  trinh  twin  vin  when  win  winn  winne  wynn  wynne  yin  zinn  zlin  adin  akin  allin  allphin  alpin  askin  aslin  astin  aswin  atkin  begin  berlin  bongjin  chagrin  chang-hsin  clothes pin  dechine  eldwin  elkin  emlyn  eskin  glavine  goose skin  has been  have been  herein  itkin  kaylynn  kuan yin  kyoung-min  like sin  mcginn  mcglinn  mcglynn  mcguinn  mclin  mclinn  mcminn  mcquinn  not kin  o'quinn  qian  sloe gin  straight pin  tail fin  therein  thick skin  vanryn  wear thin  wherein  within  wrist pin  yalin  yan-bin  bathtub gin  bobby pin  bowling pin  caudal fin  christ within  conjoined twin  cotter pin  cotton gin  deadly sin  dorsal fin  dowel pin  drawing pin  firing pin  gudgeon pin  holland gin  kissing kin  light within  mickey finn  mortal sin  motor inn  next of kin  pelvic fin  rolling pin  safety pin  scatter pin  skittle pin  swivel pin  ventral fin  verduin  violin  water skin  west berlin  actual sin  animal skin  caravan inn  knin  marchand de vin  pectoral fin  potato skin  siamese twin  vertical fin  artificial skin  disease of the skin  huckleberry finn  identical twin  original sin  remission of sin  take it on the chin  heterocercal fin  matrilineal kin
    It seems to extract the word related (highlighted above) on every rhyme you try to search for, a simple adjustment to parsing could take this out.
    Zeegnahtuer?

  5. #5

    Thread Starter
    Fanatic Member paralinx's Avatar
    Join Date
    Jun 2005
    Location
    Michigan
    Posts
    987

    Re: ====Rhyme Generator====

    Fixed that
    Attached Files Attached Files

  6. #6
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: ====Rhyme Generator====

    Ok, the "Related" thing works, but now, however you've solved the error 380 didn't really solve it, everytime i open the application i get the following in the textbox.

    Code:
        pictures  video  audio  news  local  shopping      City Guide  Government Guide  MapQuest  Moviefone  Pinpoint™ Shopping  Mobile Search  White Pages  Yellow Pages  AOL.com  Pinpoint™ Travel  Link to us  Legal  Web directory  AOL International  AOL, Inc.  Download AOL  Accessibility Policy  GetNetWise
    Why don't you add a boolean value for whether or not its the first time the function has been called, this way it won't display anything stright away. But, when a user trys to search for something it will work.

    Good application & Code though
    Zeegnahtuer?

  7. #7

    Thread Starter
    Fanatic Member paralinx's Avatar
    Join Date
    Jun 2005
    Location
    Michigan
    Posts
    987

    Re: ====Rhyme Generator====

    It does that at first because for some reason my webbrowser will load AOL.com into it. I'm not sure why that happens but that's a good idea to use the booleans to not let it load AOL's stuff...

  8. #8
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429

    Re: ====Rhyme Generator====

    paralinx,

    Suggestion:
    You may want to 'update' just one zip as you go... That way users will download the
    zip from your first post (being the current version), and not have to hunt thru all treads to find the latest

  9. #9

    Thread Starter
    Fanatic Member paralinx's Avatar
    Join Date
    Jun 2005
    Location
    Michigan
    Posts
    987

    Re: ====Rhyme Generator====

    I did update my original post not 9 minutes before your post bruce Thanks for your suggestion though. What do you think of it?

  10. #10
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: ====Rhyme Generator====

    Might want to use a listbox instead, with the option to save to a text file.
    Nice work though. Forgot how many words rhymed with Dave!

  11. #11

    Thread Starter
    Fanatic Member paralinx's Avatar
    Join Date
    Jun 2005
    Location
    Michigan
    Posts
    987

    Re: ====Rhyme Generator====

    thanks, you don't want to know some of the words that rhyme with nick

  12. #12
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: ====Rhyme Generator====

    More than i can guess, I bet.

  13. #13
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: ====Rhyme Generator====

    Quote Originally Posted by paralinx
    thanks, you don't want to know some of the words that rhyme with nick
    What, like sick ?
    Zeegnahtuer?

  14. #14

    Thread Starter
    Fanatic Member paralinx's Avatar
    Join Date
    Jun 2005
    Location
    Michigan
    Posts
    987

    Re: ====Rhyme Generator====

    yeah they are pretty sick, type nick in there and find out

  15. #15
    Fanatic Member
    Join Date
    Aug 2005
    Location
    South Africa
    Posts
    760

    Re: ====Rhyme Generator====

    Paralinx & I have combined this Rhyme Gen with a dictionary & thesaurus which you can check out over here: http://www.vbforums.com/showthread.php?p=2214583
    If I helped you out, please consider adding to my reputation!

    -- "The faulty interface lies between the chair and the keyboard" --

    VB6 Programs By Me:
    ** Dictionary, Thesaurus & Rhyme-Generator In One ** WMP Recent Files List Editor ** Pretty Impressive Clock ** Extract Firefox History **

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