Results for "Author: ulli"
This Add-In creates a Cross Reference Listing for your VB Projects. The X-Ref shows all Public, Global, Friend and Private Data- and Code-Member definitions, where they are defined, their scope (Private / Public / Friend), and what they are: Sub or Function, Property, Event, Variable or Constant. Also shown are all references to these members with ComponentName.MemberName as well as Line and Column numbers. References to Components are also shown. The Cross Reference Listing may be exported to a color-coded RTF file (see screen shot) or to the Clipboard for subsequent pasting into the project or anywhere else. This is the second in the my suite of VB-Add-Ins and goes together with the Code Formatter. It will help you to professionally document your projects in a tidy and consistent way. Compile the DLL into your VB directory and then use the Add-Ins Manager to load the Cross Reference Add-In into VB. Fixed bugs with Resorce Files and Related Documents and added Icons as well as references to Controls, Libraries, and References.
Example to show how to synchronize painting to the Monitor's vertical scan frequency. Painting occurs invisibly during vertical retrace.
Class and exhaustive test rig for FFT and IFFT. See screenshot. Updated for substantial speed improvemnt. Download is 8 kB
This is a 'Finite State Machine' Class to control batch type sequential client programs which fetch records from one or more sequential (normally keyed) data streams and optionally merge them into one stream, and/or exchanges data between matching records. This is done by invoking the discrete procedural steps in a logical sequence (eg FetchNextRecord, GroupHeader, ProcessRecord, GroupFooter etc) which the client program is arranged into. Also supported and invoked are control breaks for outputting subtotals, totals or grand totals; the control breaks are further subdivided into group header and group footer. The class supports a great variety of properties which may come in handy during program execution. Examples for this kind of programs are manifold: Invoicing, batch account-updating from transactions, grouped statistics, budgets and ballances, or report writers with subtotals and totals to name just a few. A comprehensive documentation is included. Compile WinPS 1st, register it if necessary using RegSvr32, and then add a reference to it to TestNewPS (or to any other project that might be using it). Download is 85 kB.
This little gadget creates, plays and optionally saves .wav files. You define duration, frequency and sound characteristics. Update vor visualisation. See screenshot for details. Download ist only 7 kB.
This is an object-oriented Sudoku Solver combining the "cross hatching" strategy with a backtrack algorithm. It solves easy puzzles in about 600 µsecs and really hard ones usually in under 150 msecs (when compiled) on my old AMD Athlon XP1800+. The most evil one I could find is in the screen shot.
This OCX Control is similar to a slider, but has two thumbs which let you define a lower and an upper value. It also features a couple of additional properties which may come in handy. Download is 11.5 kB.
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.
Shows irregular forms and rollimg counters (sorry Robert, I just had to do this...)
... 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).
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...
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.
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.
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.
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.
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).
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.
Little class and demo showing how to rotate fonts.
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.
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.