image ResEx Logo
ResExcellence www : Powered by Google
Cell Phone Themes Icons Mighty Mouse Cursors Software Reviews Widgets & Widgets

Articles
   3D
   Audio
   Custom Controls
   General RB
   Graphics
   Hacks
   Mac OS X
   Menus
   Novelty
   Printing
   REALbasic 2005
   REALbasic 2006
   Registration
   Resources
   Reviews
   Serial
   Speech
   Sockets
   XML
   Video
Resource Links
News
   Current News
   February 2006
   January 2006
   December 2005
   November 2005
   October 2005
   September 2005
   August 2005
   July 2005
   June 2005
   May 2005
   April 2005
   March 2005









REALbasic for Dummies
by Erick Tejkowski


Learning REALbasic through Applications
by Clayton E., Crooks II


REALbasic for Macintosh
by Michael Swaine


REALbasic Cross-Platform Application Development
by Mark S. Choate





Older files are in Stuffit 5 or greater format. Newer files are ".Zip". Download StuffIt Expander
Tell us about a bad link. Thank You!

REALbasic Buzzord Machine by Erick Tejkowsi
10-18-01

Printer Version




Ever feel like your bosses are making things up as they go along? Well, they probably are! Today's project is a simple one, but it evens the score. Now you can produce all sorts of buzzword-filled phrases and impress that boss with your knowledge. Only you will know that its complete nonsense!

Build the Interface

Launch REALbasic and open Window1. Add a PushButton and a Listbox to the interface, making certain to give the Listbox 3 columns. You can arrange the interface however you wish, but it might look something like this:

10_18-finis.jpg (28k)

There, that was easy, wasn't it?

Add the Code

Double click Window1 and place the following code in the window's Open event.

10_18-open.jpg (35k)

This code opens a text file named resexbuzzwords and reads in all of its data. The data is a list of jargon arranged in groups of three words. Each word is separated by a comma. As the data is read from the file it is placed within a particular column in the Listbox.

10_18-wordlist.jpg (19k)

Next, navigate to the Action event of PushButton1 and enter this code:

10_18-pushbutton1.jpg (19k)

This code creates a random three digit number between 000 and 999. Each digit represents a row from the Listbox. Using these random row numbers, we pull out the data from the Listbox to finally form the random buzzword phrase.

Conclusion

If you'd like to download this week's example instead of typing it in, you can get it here. See you next week!




Cell Phone Themes Icons Mighty Mouse Cursors Software Reviews Widgets & Widgets

Maintained by the Staff of ResExcellence. This entire site ©1997-2006 ResExcellence
Privacy Statement? Sure we gotta Privacy Statement. [an error occurred while processing this directive]