Advertisement

Results for "Author: ulli"

2002VB #19789
A li'l joke

See for yourself... download is only 1.5 kB

2002VB #19790
Ulli's Math Module

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.

2002VB #19791
DAO Database Browser OCX Control

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.

2002VB #19792
Irregular shaped forms

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.

2002VB #19793
Elastic text

Bouncing elastic text effect

2002VB #19794
Slider Construction Kit

Replacement for the standard Scrollbar with own pictures for the buttons, thumb and body and with quite a few more properties.

2002VB #19795
Ulli's Source Code Comparator (updated)

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*

2002VB #19796
Enquiry

Hi Folks, hi Ian, this site has the title 'Free(!) Source Code for the Taking' and I just cannot believe that the production plus handling plus P&P plus administration plus extras (mind No Profit) will cost a hundred bucks per CD. The community may wish to know, how you, Ian, have arrived at that figure, and it would be a nice and decent gesture if you could publish that. I am not greedy or anything like that, I just think, we have a right to know. Anyway, if you cannot publish that, I wish to have all my submissions deleted. Btw I consider it an insult to give us back what we submitted as a 'Price for Superior Coding'.

2002VB #19797
Ulli's VB Cross Reference AddIn

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.

2002VB #19798
Access Database Utility

Analyse Access Database Tables and Fields and optionally alter contents.

2002VB #19799
Rotate text

Shows how to rotate the orientation of True Type fonts

2002VB #19800
Ulli's VB Project Explorer and Documenter (Updated)

This AddIn helps you to explore and document your projects. The documentation is incorporated into the source code and may be printed by the Code Formatter Source Print Facility (updated version soon to follow). Compile the DLL into your VB directory and then use the Add-Ins Manager to load the Explorer Add-In into VB. The Splitterbar.OCX (included in the .zip file) is a Control based on a submission by eidos here at PSC. You should copy it to the Windows System Folder and register it using RegSvr32.

2002VB #19801
Ulli's Record and Playback ActiveX Control

This OCX records all mouse and keyboard activities for later playback with original timing. May (but should not) also be used as a stealth keylogger. Try playing back the attached TEST.RCD file :-).

2002VB #19802
Flickerfree

Example to show how to synchronize painting to the Monitor's vertical scan frequency. Painting occurs invisibly during vertical retrace.

2002VB #19803
Unbreakable Encryption (?)

Class to encrypt and decrypt a clear text with variable character length encoding. There is no relationship between byte boundaries and encrypted characters, ie an encrypted character may theoretically be anything from 1 to 255 bits long; however this depends on the 'quality' of the key. I am not a cryptoanalyst, but I have a hunch that the variable character length makes this code rather difficult if not impossible to break. One approach may be to scan the encryption for repeating bit-groups and guess the meaning of short groups occuring more frequently than others (like "the", "a", "an" and so forth), or for patterns occuring with a language-specific frequency of vowels and consonants. To forestall that, the encrypting engine uses an initial hash (also derived from the key) and XORs every character with that before encrypting, keeping the result of the XOR for the next character. The decrypting engine of course reverses that process. The encryption engine now features an MD5 message digester which produces a key- and message-dependent binary signature. This signature may be included in the encrypted text to verify it's authenticity. Another advantage of prefixing a message with a signature is the additional scrambling of the encryted text through the previous encrypting of the unpredictable signature (see 'hash' above). This makes the encryption key- and text-dependent, that is, the encryption for a particular character is different when the text is different (apart from being different through hashing). Speed (without debugging) is in excess of 40,000 bytes/sec for encrypting and more than 130,000 bps for decrypting (depending of course on your PC's clock frequency).

2002VB #19804
Ulli's Chess Playing Program

This is my attempt to make a chess program. The AI still needs a lot of cooking but the UI is done and it knows most rules (read the attached F.I.D.E. Laws Of Chess). Don't try yet to play against the computer - you will win :-) or worse - the program may crash. I myself am a below-average chess player, so I cannot say anything about the program's strenght or style of play. Time limit does not work properly, so give it say 6 or 12 seconds thinking time, more will make you wait virtually forever... Problem solving works though, I think. Unfortunately PSC does not let me upload Gradient.OCX or MsgHook.OCX, so you will have to delete all references to them. Also the TTF Amaze is not uploadable, just substitute another nice looking font for it. The piece images were copied from RJSoft's Chess Program, with his permission. Enjoy.

2002VB #19805
Compute Pi...

...up to 10,000 digits and more.

ASP_Volume2 #25975
Memory Mapped File Wrapper Class

A Memory Mapped File resides in virtual memory from the moment it is opened until it is closed. This makes access to it very fast, in fact read and write merely consist of data moves in memory. All parts of the file are accessible by means of a zero based offset and the length of the data chunks you can transfer is only limited by the file size itself. The system will swap out and in pages of virtual memory as necessary. Only when you close the file the data are "lazily" written to disc, and the Physical Write Operations are limited to the altered memory pages. When you open an MMF you are required to supply an estimate of how large the file is gonna be. Any reasonable estimate will be fine, however, you cannot exceed this estimate, ie you can't extend a file while it is open, but you can truncate the file size to the actual size used when you close it. You can extend an existing file by giving the appropriate estimate when you open it and truncating it to the larger size when closing. MMFs are byte oriented and that requires a bit of understanding the data types which VB uses and how they are represented physically. The class contains tools however to handle the different aspects.

ASP_Volume2 #26022
Ulli's Code Profiler Add-In (updated)

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. The data include: ~ number of hits for each line of code ~ total time spent executing each line of code ~ average time spent executing each line of code ~ the code line itself ~ Timing accuracy is quite good and depends on the CPU high resolution timer (which in my AMD Athlon XP1800+ ticks about 3.5 million times a second giving a resolution of .279 µsecs), and utmost care has been taken to remove all data acquisition overhead effects from the execution times shown. Updates include check for isDirty (in which case you may loose the changes you made), better evaluation routine and printing.

ASP_Volume2 #26219
Baggy Files

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.

Languages
Top Categories
Global Discovery