Advertisement

Results for "Author: ulli"

7_2009-2012 #220912
Greg's 3D Pool Billard (Version 2.6.50)

This is a new version of Greg's 3D Pool (or whatever you may call it) with a few minor qirks removed and generally overhauled and extended; see various .txt files for further info; also see PSC CodeId 37583. Download is 388 kB.

7_2009-2012 #220913
European Petrol Pump

Shows irregular forms and rollimg counters (sorry Robert, I just had to do this...)

7_2009-2012 #220914
Yet another clock...

... but this one uses no space on your desktop because it runs in the system tray below the start button. The numbers roll like in an odometer. All you have to do to accomodate it is to unfix the tray (right click into it to open the menu), size it to two units height by gripping it at the top with your mouse, and then fix again. Download is 11.9 kB. Update: Update: The clock now decides whether it sits on top of or below the start button. When it sits on top of the start button, it will disappear when you move the mouse over it and re-appear after five seconds (possibly cancelling the initial start menue).

7_2009-2012 #220915
Sort your eastereggs by color

Animated Sort Algorithms --- Shows the behavior of these sorts: *Bubble*, *Cocktail Shaker*, *Insert*, *Improved Insert*, *Shell*, *Heap*, and three versions of *Quick". Download is 7.5 kB. Have fun...

7_2009-2012 #220916
Extended Message Box

This is a standard message box; however it gives you total control over all its features from icon displayed via button captions and sound to positioning and auto-timeout. It can even speak, if you want it to! A little testdriver is included to show how it all goes.

7_2009-2012 #220917
Idle Win Shutdown

This little application runs in the system tray and shuts down Windows and switches of your PC after an adjustable period of user idleness, ie no mouse or keyboard activity. Running processes are queried as to whether they have any objections to system shutdown and are forcibly terminated if they don't object or do not respond to the session end notifications.

7_2009-2012 #220918
Complicators and Simplifiers (New Paragraph about the API)

This is a project I want to start: Collect hints and examples which might help Newbies (and maybe some of the Oldbies) to improve their coding style and efficiency. Comments therefore are welcome as are suggestions, additions or alterations.

7_2009-2012 #220919
Tray Progress Bar (Update)

A progress bar is a very temporary thing but still requires permanent space in a form. Wouldn't it be better to use a temporary space for it also? This project temporarily uses the system tray to display a customizable progress bar. Just include form fProgress and clsSystray with your project and set it's properties. A lil testform is included to show how it could be used. I know there are hundreds of progress bars in PSC, but this one is a little different - try it, download is 8 kB.

7_2009-2012 #220920
Text To Speech

This little gadget shows how to use the MS Speech Object Library. You drop or open a textfile and it will read it to you (english language; other languages work but will be pronounced rather american-ly).

7_2009-2012 #220921
Your Computer Components

This little utility lists most of the components of your computer, together with their properties. In fact it tells you everything Windows knows about your hardware and associated drivers. Tested with WinXP only. Download is 11 kB.

7_2009-2012 #220922
Font Rotation

Little class and demo showing how to rotate fonts.

7_2009-2012 #220923
Collection Item Keys

Unfortunately Collections do not expose the Keys of Items or the Index of Keys. So I made two little functions which return an Item's Key by Index -> Key = ItemKey(Index, Collection) - and vice versa -> Index = ItemIndex(Key, Collection). Download including samples on HowTo is only 2 kB.

7_2009-2012 #220924
A quicker Quicksort (up to 100 times faster)

Quicksort which works by sorting string pointers only instead of the strings themselves. In particular for long strings around 1000 chars there is a 15 times improvement in speed, going up to 100 times for really long strings, and speed is almost indepent of string length; one million strings are sorted in under five seconds. For short strings below 10 chars or so speeds are more or less identical. The screenshot shows the compiled timing.

7_2009-2012 #220925
Game Of Life

This is my implementation of Conway's Game of Life. Included is a folder with more than a hundred initial patterns found in the web, some of which have been adapted to fit in our wrap-around universe of 900 x 600 pixels (variable grid sizes of 90 x 60 to 450 x 300 cells) and produce quite interesting effects, machines, or perpetuum mobiles. Try it, download is 58 kB.

7_2009-2012 #220926
Statitistical Chance Evaluation of Monty Hall's TV show "Lets make a Deal".

Suppose you're on a game show and you're given the choice of three doors. Behind one door is a car; behind the others are goats [that is, booby prizes]. The car and the goats were placed randomly behind the doors before the show. The rules of the game show are as follows: After you have chosen a door, the door remains closed for the time being. The game show host who knows what is behind the doors now opens one of the two remaining doors, and the door he opens must have a goat behind it. If both remaining doors have goats behind them, he chooses one randomly. After he opens a door with a goat, he will ask you to decide whether you want to stay with your first choice or to switch to the last remaining door. Imagine that you chose Door 1 and the host opens Door 3, which has a goat. He then asks you "Do you want to switch to Door Number 2?" Is it to your advantage to change your choice? ~~~ Note that the player may initially choose any of the three doors (not just Door 1), that the host opens a different door revealing a goat (not necessarily Door 3), and that he gives the player a second choice between the two remaining unopened doors. All situations with different door numbers form equivalent formulations of the problem and lead to the same conclusion.

7_2009-2012 #220927
Connect Four (aka The Captain's Mistress)

During his long sea voyages, Captain Cook was often absent in the evenings and eventually the crew began to joke that he must have a mistress in his cabin. When they discovered that the Captain had simply been playing this game with the ship's scientists, the game was christened "The Captain's Mistress". ~~ This program uses bitmaps to represent the Board, iterative Search deepening, Alpha-Beta pruning, and Principal Variation search. No positional evaluation is made at the search tree leaves, it simply relies on search depth to find winning combinations. Search depth is about 10 to 12 with a two seconds time check (Advanced level). The program is hard to beat even in Beginner mode. See Screenshot. ~~ Download is 33kB.

7_2009-2012 #220928
Convert two dWords to a qWord

How to convert two 32-bit dWords to a 64-bit qWord.

7_2009-2012 #220929
A li'l Unicode

This is the result of playing with Unicode a little and it is by no means perfect, but as a beginning it may be helpful to some of you. Download is 2 kB. ~~ PS:- I speak none of the languages; I just picked some characters that looked typical too me.

7_2009-2012 #220930
New Shores

Thanks and Good Bye

7_2009-2012 #220931
Internet Radio Recorder Update #2

Tune to internet radio stations and record music on your hard disk while listening at the same time. This app was almost completely rewritten from code by Coder Ghost *CodeId=64608*. A few ideas by some of you have been implemented: a- Sticky Discard Button and b- Selective Title List. (Includes one or two re-usable coding treasures). Download is 39 kB.

Languages
Top Categories
Global Discovery