[VB6, Vista+] Undocumented ListView feature: Groups in Virtual Mode
Well, this project has been a long time coming. Just when I thought I had it, a mysterious and difficult-to-trace crash reared its head. But that last issue has finally been resolved. According to...
View ArticleRotation and scale in one routine (also for 32bit bitmaps)
This is an example on another example. I get the Tanner_H's code from there Color Management (ICC Profile) support in VB6: guide and sample project and I put a textbox where we can write the angle (0...
View ArticleVB6 - TLSSend Using CNG
Attached is a program called TLSSend. This Version uses MS CNG (Cryptography Next Generation), and sends email messages to: 1. Your ISP 2. Gmail 3. MS Live using ports 25, 1025, 465, or 587. Port 25 is...
View ArticleDirectory Tree - Generates a list of subdirectories.
Directory Tree demonstrates how to list all subdirectories under a directory. Simply specify the "root" directory and output file. This can be useful, for example, when writing a program that searches...
View ArticleHere's how to make VB6 execute a program and then wait for it to close.
It's a VB6 sub called RunAndWait. Code: Private Const SYNCHRONIZE As Long = &H100000 Private Declare Function OpenProcess Lib "kernel32.dll" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As...
View ArticleFramework for making plugins
You know how a lot of software these days use plugins, whether it's a graphics program, or a web browser, that allows additional functionality that was not present in the base program? Well I figured...
View ArticleVB6 - Grammatical Evolution
This is a small project inspired by Grammatical Evolution. It's a Genetic Algorithm that evolves a Program-Code. (in fact i'd prefer to call it Code-Evolution, since it involves even ROM and uses RAM,...
View ArticleFigures - experimenting with polygons
Figures is an experiment in generating and animating simple polygons. Instead of using horizontal and vertical coordinates for each element, the program uses the distances (radii?) as measured from the...
View Article[VB6] Color surface and scatter charts with nice color maps
Dear all, As heavy user of Excel 2007, I'm happy with the quick analysis available through pivot table. Unfortunately the default layout for the contour graph and the need for a regular grid reduce...
View Article[VB6] PicSave - Simple SavePicture as GIF, PNG, JPEG
Sometimes you need a better SavePicture() function. Not a lot better, just one that can save in some compressed format instead of just BMP format. Like JPEG usually, or PNG. Well this one does that,...
View ArticleAnalog Clock example
Analog Clock is a program that demonstrates how to create a user control that displays a clock on a form in Visual Basic. This started as a quick example about rotating graphics I wrote a while ago and...
View ArticleSludge Tools - an old but, still interesting, and possibly useful project
Okay, how to start... A couple of years ago I tried to write my own adventure game using Hungry Software's Sludge scripting language. The tools that came with it were pretty good, but I felt it needed...
View Article[VB6] Code Snippet: Open a folder and select multiple files in Explorer
So lots of applications these days can open a folder and highlight the target file or files, but it's not something that I've seen done in VB6 for multiple files; I guess because few people are...
View ArticleCopy to Clipboard as Unicode and Html Form
Working for M2000 Interpreter I found this https://support.microsoft.com/en-us/kb/274326 For copy text to Html, but without using utf-8 (but works for english because utf-8 has one byte for English...
View Article[vb6]Yet Another CSV Parser
A fairly basic CSV parser, with a bit more user-control and a slight twist: Event driven by Record The parser does handle quoted field data and delimiters, carriage returns, and other non-printable...
View ArticleVB6 - Generate ECC Key DLL
Attached is a DLL program that generates an ECC (Elliptical Curve Cryptography) Key, and a sample program to utilize it. Each side in the exchange creates a Public/Private key, and sends the Public Key...
View ArticleGDI+ Workaround: ICONs
Major caveat: The noted limitations apply to at least Vista and lower. Windows 7 and above may have corrected some of these limitations. Since Vista is still an active operating system, you may be...
View Article[VB6] Look up Enum value names
We see this question as well as very similar ones every so often: "I want to be able to have users pick values by name from a list of Enum value names. Is there a way to do this without manually...
View ArticleFastSort for bytes
Here's my Histogram based FastSort function for bytes. Unlike normal Sort type algorithms, which require often many passes (the exact number depending on the exact arangement of numbers in the array)...
View Article