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!
Last edited by paralinx; Oct 25th, 2005 at 02:05 PM.
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.
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.
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.
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...
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