Advertisement

Results for "Author: ulli"

ASP_Volume2 #26250
A Hungry Cat

This is a little cat which yearns for the mouse - at least it follows it with the eyes all the time. You can drag it anywhere you like, and it goes away when you doubleclick it. Try it, download is only five kB.

ASP_Volume2 #26617
GPF Interceptor

This project shows how you can intercept GPFs. Instead of crashing your application in case of a GPF, a PopUp is openend showing error details and giving the user the choice between continuing the buggy application or terminating it in a neat and proper way. (This is based on a previous submission. Tested on WinXP only.)

ASP_Volume2 #26766
Automated Accelerator Key Assignment

This Add-In analyses all (or selected) controls in a form and assigns or generates the necessary accelerator hotkeys, ie those keys that you press together with the Alt-key to access a control (the underlined characters which are preceeded by an ampersand in code). The problem is that a different accelerator key should be selected from the caption of each individual control. To achieve this one has to generate all possible permutations to find the best solution where the accelerator keys are all different and as far to the left as possible.

ASP_Volume2 #26905
Talking Custom Tooltips

This demo application demonstrates the use of a Custom Tooltip Class supporting square and ballon style tooltips, centered at the corresponding control or at the mouse pointer hot spot, with or without title. Individual back- and forecolors and fonts are also possible as well as an assortment of Icons to be displayed in the tooltip and finally individual delay- and show-times. And whats more - the tooltip can now speak using Microsoft's Speech Object Library (SpVoice in sapi.dll), no XVoice.dll or VText.dll! The code is easy to follow and well documented. And on top of that the class is very easy to use. Check it out, download is only 10 kB.

ASP_Volume2 #27651
Binary Adder Demo

My son and I made this for his IT class. You set or reset the operands bits, the mode, and the injected carry; the binary result, the intermediate and final carry and the overflow bit are then computed and displayed by applying the actual logic in the diagram. Download 8 kB

ASP_Volume2 #27753
A Noisy Class

Simple Sound Mixer Wrapper Class plus Test Driver. Unfortunately the Mixer interface is rather complicated - maybe written by a musician *g* - so there are quite a few mystic API calls with plenty of params, mixer-constants with ugly names, cryptic structure types, and virtual memory address pointers from one structure into the next. And Micro$oft's documentation is slim, to put it polite, but I tried my best to put all that into a wrapper with a simple interface: You choose the Channel and SoundControl; this will return True if the selection was successful, and then Get or Let the Value. (Note that ALL values are in % - for booleans (like Mute) the value 0 means False and 100 means True - one hundred percent true, so to say).

ASP_Volume2 #27929
VB IDE Full Screen (Update #2)

This little AddIn toggles VB's code pane windows between normal display mode and full screen display mode. Simply compile the .dll into your VB folder and then use the Add-Ins manager to load it into VB. Updates include: safeguard against accidentaly closing a codepane or VB while in maximized state, and an emergeny fallback in case VB crashes while maximized. So the necessity to manually re-do the registry after a crash should have gone. Some of your feedback suggestions have also been added.

ASP_Volume2 #28084
Sort without sorting (one million elements in 3(!) seconds) Update

This Sort-Class can be used to retrieve the elements in a one-dimensional table of strings in either ascending or descending sequence. The table itself is not altered in any way by this process, rather pointers into the table are returned which point to the elements in the table in the requested order. Tests on a 1800 MHz Athlon processor have shown that the Sort is in fact the fastest I know, sorting 100,000 elements on a five byte random sort key in under 0.3 seconds. The speed varies only very slightly with the number of elements to be sorted, so one million elements take about three seconds to sort. Any special presorting has no measurable effect on speed (Quicksort by contrast is almost killed by a presorted sequence).

ASP_Volume2 #28168
A Standard Message Box with TimeOut

This is a normal Message Box, but with a timer which will make it disappear after a certain amount of time. The return value depends on whether the user clicked one of the buttons (when the normal MsgBox return values are handed back) or whether the box was closed automatically - in this case a zero is returned.

ASP_Volume2 #28217
The trouble with VB's Recent Project List is that...

...it is untidy and unsorted, it grows until you can't find anything, it does not remove broken links, and last but not least the window is way to samll to display long pathes. So what we need is a little helper to tidy up and sort VB's Recent Projects List. And wouldn't it be nice if you could launch VB with an open project inside it right from the beginning? Well, try this one - download is only 14 kB.

ASP_Volume2 #28237
Ulli's VB Companion AddIn

(formerly IDE Mousewheel Support and AutoComplete) This Add-In adds configurable mousewheel support and a few other goodies to the VB IDE. Check it out; download is only 80kB (the best 80 kB you ever downloaded *g*).

ASP_Volume2 #28309
Treasure Chest (DirectX)

Remember the old days when the Black Avenger of the Spanish Main (alias Tom Sawyer) roamed the Carribean Seas and spread terror among his foes? Well, this is what went overboard one day and you are the lucky one to find it.

ASP_Volume2 #28443
KnightRider ActiveX Custom Control

This is a KnightRider Custom Control with customizable Back- and ForeColors, Size, Speed, and Effect. The appearance and effects can be viewed in the IDE; that is it is already active in Design Mode :- just set the Enabled-property to True. It was inspired by a previous submission to PSC.

ASP_Volume2 #28596
TriState InputBox

With the InputBox you cannot distinguish between the cases a:- Cancel clicked b:- nothing entered and OK clicked because in both cases the returned string is a vbNullString There is a simple trick however as is shown here

ASP_Volume2 #28602
Sizing Grabber

Would you believe that the sizing grabber - that is the little triangle in the bottom right hand corner - is in fact disguised a scroll bar? Well, have a look...

ASP_Volume2 #28629
Ulli's Profiler AddIn (Update)

This AddIn will put all necessary instrumentation into your project to create a run profile. Then during execution profile data are acquired and finally evaluated and shown. New: You can now also replay your program code execution at different speeds. Update includes breakpoints by count and a bug fix by Roger G.

ASP_Volume2 #28645
Radix Sort (JunusSort revised)

Very fast integer sorter. Using 1800 MHz Athlon processor will sort ten million integers in just over three seconds. (see http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=59491&lngWId=1)

ASP_Volume2 #28669
Terrain Triangulation

This creates a triangulated terrain model from samples taken in the real world. Samples consist of x-, y-, and z-coordinates taken at arbitrary points in the terrain during a survey on site or during a satelite or airborne radar survey. The project shows several methods and techniques regarding trigonometry, maths, and transforming/projecting 3D entities onto a 2D drawing canvas. Some documentation and the basic theory about the triangulation process is included. Download is 77kB.

ASP_Volume2 #28680
Nested Arrays Solution

Example

ASP_Volume2 #28733
LED clock (a little shorter than god's)

In one line - well, with a little cheating ;-)

Languages
Top Categories
Global Discovery