Results for "Author: ulli"
Demonstrates the use of a property bag to store "things" in a file in any order and to retrieve those things from that file in any order. "Things" include strings, numerics, results of arithmetic or string operations, booleans, fonts and even pictures.
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.
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.
In one line - well, with a little cheating ;-)
This little code snippet returns a truly random sequence of Rnd's
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)
The trouble with VB's own Recent Projects 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 small 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 24.5 kB. (See ReadMe.txt)
How to securely exchange encryption keys over unsecure lines.
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...
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
Class to create an irregular shaped form from a picture. The screen shot sample shows an MM-shaped form and the ears, the black circle and the button make up the form. The remainder inside the circle does not belong to the form.
This AddIn compares the source code in the VB IDE with the source code that was last saved and shows the differences. If you have been working on a piece of code for a while you can probably not remember all you have done. One click - and this AddIn will tell you. Alterations to the form or to controls in that form are also shown. The comparison is not line number dependent but is controlled by content only. Unaltered lines are shown in black, new lines in red, deleted lines are blue and striken out, and finally changed lines are shown as deleted and new. Empty lines which you might have inserted or deleted are not shown - this is because I found it rather difficult to strike out nothing *g*
Shows how to rotate the orientation of True Type fonts
Bouncing elastic text effect
Replacement for the standard Scrollbar with own pictures for the buttons, thumb and body and with quite a few more properties.
See for yourself... download is only 1.5 kB
This pocket calculator is meant as an example for the almost forgotten State Transition Table technique. With this technique the complete behaviour pattern is stored in a two-dimensional table containig Reactions to input-triggers (in this case key presses, but depending on circumstances the triggers may be anything else), and States. An STT is an ideal tool to control game characters for example because it allows different reactions to identical inputs. The code is documented and also contains a short description of how it works. It's worth the download if you want to learn more about STTs, so give it a try. Download is 18 kB.
This is a prefabricated database browser to be used with bookmark- and clone-supporting SQL databases (MS-Access for example). It lets the user browse a database or search for specific entries and then select an entry for further processing. The appearance and contents are customizable. Everything above the blue line is part of the OCX Control. Simply stick it in a form, set a few properties and you're go with a commercial quality browser/record selector. A cross linked help file is included. Download is only 20.5 kB.
A new type of progress indicator (mileage counter and speedometer), similar to the one you have in your car. Check it out, download is only 17 kB.
This is a String Parser / Math Formula Evaluator OCX-Control. It contains over 100 functions: simple add / subtract, mult and div, roots, exponentiation and logarithm, math, trig and stat functions, conversions, LCD, SCM, primes, faculty, dates and times, differentiation and integratation and l.b.n.l. some functions for fuzzy sets and for plotting curves. All functions can be combined into huge formulae like for examüle Sin(33°+12'+21")*pi-e+3.3e4+sqr(5*(21-9)) which incidentally returns 33006.748173093. The Control also supports formulae with letters or names instead of numbers like r²*pi Whenever the Control detects a token in a formula, it will query the value for the token and the client may supply anything that is a valid formula including further tokens, thus enabling chain-calculations. A user accessible result stack is also implemented. Anyway - it's a treasure chest for math routines (for example containes a very fast prime number generator which can compute 100,000 primes in less than 2 (two!!!) seconds on an AMD Athlon(TM) XP1800+). A cross-linked help file is included as well as two sample proggies to test and demonstrate the capabilities. Download is 36 kB.