Simulate TLS 1.3
To understand TLS 1.3, https://tls13.ulfheim.net/ is useful, but unfortunately it contains several discrepancies if you want to follow it in detail (eg. labels are not complete). For the detail,...
View ArticleProgrammatically adding and using buttons on a VB form.
Put this code in Form1, and make sure to set the form's AutoRedraw property to True (you won't want printed text disappearing permanently if it's below the form and you just need to resize it). Code:...
View ArticleAnchor Control
This code example is so that the controls can be anchored to the Form to be resized. Although there are several examples of anchoring, I noticed that when placing the controls inside the FormChild, the...
View Article[VB6] Another "magnifier"
The topic of writing screen magnifiers came up the other day, and I thought I might trot out this old approach. Basically it shows simple use of a GDI Region object with StretchBlt. I had another...
View Article[VB6] GDI Path clipping
I don't see a lot here on this topic. Perhaps it's a bit "forgotten" or maybe not that useful to most people. This example is a bit silly but it might be enough to get you started using GDI Paths for a...
View Article3d with vb6 (dx7 - rmcontrol.ocx) - SpaceX's Starship SN5
project download: 3d scene - SpaceX's Starship SN5 150m hop test.zip Simple 3D engine project created with vb6, directx 7 and rmcontrol.ocx .x models created with 'art of illusion', 'wings 3d' .bmp...
View ArticleFile and/or String Comparisons
CompareFiles This program highlights four different modules that allow you to compare files or strings for changes. In each case I shell to another program to do the file or string comparison. Rather...
View ArticleA Tooltips Class
ToolTip Class for VB6 Forms The attached file contains a replacement (or augment) to the ANSI-only, boxy, single-line tooltips provided by VB6. Features of the new class include: Full Unicode...
View ArticleVB - SnipSnap: Copy/Cut & Paste Image Areas
Earlier versions of this were called "MaskoMania" but a lot has been cleaned up and additional functionality added. Basically it is a UserControl to be hosted within a container control with a bitmap...
View ArticleVB6 Color Picker usercontrol with Save Color Picks
Drop this usercontrol in app and start picking colors. It will save 8 sample colors for you. Attached Files ColorPickerKLF.zip (4.9 KB)
View ArticleCharts controls with GDI+
It is a suite of user controls, to create statistical graphs. There are four controls but some have different styles, it could be said that they are the main and most used. Each user control is...
View ArticlePlanet Source Code Jumbo Resource CDs
This post is to provide a link to the Planet Source Code files. The link is basically the Google Drive portion of an alt Gmail account that I seldom use. In fact, prior to this, I wasn't using the...
View Article(VB6) source code of Add-In to delete *.vbw files on project load
*.vbw files present a risk. This Add-In deletes them before they can open any project window. Attached Files Delete vbw files (add-in code).zip (3.4 KB)
View Article(VB6) source code of Add-In to get IDE events
This Add-In provides sample code to demonstrate how to setup handlers for IDE events. It is not intended to be used normally, but I'm posting it as a reference of source code needed to handle IDE...
View ArticleBoxShot 3D
Makes a box picture for your software and saves it as a bitmap. Attached Images Attached Files PlgBlt Example.zip (53.9 KB)
View ArticleShut The Door(an old sailors game)
This is just a simple example of writing a game to pass the time. See what you think of it. Attached Images
View ArticleVB6 - Viewer
I used dilettante's Gossamer Web Server control to make an image viewer. The viewer is actually your browser, so in theory it will deliver anything that your browser will support; pictures, HTML,...
View Article[VBA] Lambda Syntax - No script control or cheats! Happy for ports to VB6
Lambda Expressions I've already posted this library elsewhere but figured that people on VBForums would find it useful too! This is currently only written to work in VBA but I believe a port to VB6...
View ArticleRtlToFromString - Number Bases
For the most part we're already set for converting to/from number bases in VB6. But sometimes people want something more. Here is a little bit more based upon two API calls:...
View Article