Transmit Executables
I discovered a way to get around the problem of web bowsers (eg. Google Chrome) and mail servers (eg. Gmail) blocking executable files without any notification or bypass method. The servers do not...
View ArticleModal mode to show forms that allows non-modal forms
This is a simple function that can be used as a replacement to show forms "modally" but still allow to show non-modal forms: In a module: Code: Private Declare Sub Sleep Lib "Kernel32" (ByVal...
View Article[VB6] WinXP compatible PBKDF2
This one uses legacy CryptoAPI and requires XP for HMAC support and XP SP3 minimum for the SHA-2 support for the hash function (i.e. SHA256, SHA384 and SHA512) while MD5 and SHA1 are always supported....
View ArticleHide IDEOwner Class Window when loading IDE
I'm not sure if this just happens when running SDI (which is the only way I run) for the VB6 IDE, or if it happens for everyone. But, when I load the IDE, ever since about the beginning of Windows 10,...
View ArticleNaN and Inf numbers for IEEE Singles in VB6
I needed this the other day, so I coded it up (IEEE Single Precision): Code: Option Explicit ' Public Declare Function GetMem4 Lib "msvbvm60" (ByRef Source As Any, ByRef Dest As Any) As Long ' Always...
View ArticleEnum windows without any widely scoped variables
This isn't anything terribly special, but it is something I've been wanting to do for some time. It's just a top-level window enumeration, but it's accomplished without any global nor module level...
View ArticleVB6 R-Tree Demo for large Game-Maps
In larger 2D (or 2.5D) Games, there's often the question of efficient Map-Handling... Not only with regards to Map-creation or -definition, but also with regards to efficient re-rendering after the...
View Article[VB6, Win7+] Undocumented ListView Feature: Multiselect in columns like Explorer
Undocumented ListView Features : Part 5 - Explorer-style selection See Also: Part 1 - Footer Items | Part 2 - Subsetted Groups | Part 3 - Groups With Virtual Mode | Part 4 - Column Backcolor In...
View Article[VB6] Using IShellWindows to register for SHOpenFolderAndSelectItems
Shell Window Registration V2 People who've made Explorer replacements or other apps that display a window have found that they can, at best, get the folder passed to them when someone uses 'Show in...
View ArticleHomegrown Popup Menus with Tooltips
The main downside to my homegrown approach is that it won't work on modal forms. However, I try to not do that, so this serves my needs well. The main reason I did this is that I wanted popup menus...
View ArticleVB6 DPI-awareness via RC6/RC6Widgets (and Device-Independent-Pixels)
Just some Drop-In-Code (about 140 Code-Lines) for a normal VB6-Form, producing the following output: For those not yet familiar with the RC5/RC6 Widget-concept, here is a Tutorial-Link:...
View ArticleMSHFlexGrid and RowSel bug?
The problem is on 2 mshflexgrid linked at 2 table on msdatabase. Clicking on first grid the selection on grid 2 is correct, but if 2 selection is empty then the rowsel on second grid fails! On attached...
View Article[VB6/VBA] WinXP compatible HMAC
The module includes a single GetHMAC function which can be used with all SHA-2, SHA1 and MD5 hashes. The module is taken care to work in x64 VBA too and is compatible down to XP SP3. Code: '---...
View ArticleScrolling a Standard VB6 Listbox via VB6 API's
This is a simple way of scrolling a standard VB6 ListBox Control via API functions Attached Files listbox.zip (2.4 KB)
View Article[VB6] BiArc Interpolation
Some time ago I came across this wonderful and detailed article about BiArc-Interpolation. BIARC In it there is also source code that I ported to VB6. Unlike years ago maybe today I would have written...
View Article[VB6] VbVst - VST2.x framework for VB6.
Hello everyone! This framework allows you to create VST 2.X plugins (so far only the effects) in VB6. https://github.com/thetrik/VbVst
View ArticleVesta - A prototype software for Photon-pixel coupling method
Photon-pixel coupling is a novel method that allows a parallel sampling of an unlimited number of sensors. In the case shown here, 200 sensors are sampled in parallel at video rate frequency. The Vesta...
View ArticleWebCam software sampling
This is a WebCam software used in the Photon-pixel coupling method. The WebCam software takes images at equal intervals (user defined) and saves them as BMP files in a dedicated folder. These saved...
View ArticleMapping pixels to LEDs (Photon-pixel coupling)
A webcam films an array of LEDs as seen in the image below. In each frame, these LEDs represent the output of different sensors and may have a variable brightness. Thus, this brightness must be...
View ArticleDynamic Block Allocation (DBA) algorithm
Dynamic Block Allocation Algorithm [Double Brute Force (DBFA) and Multi Brute Force (MBFA)]. The Dynamic Block Allocation (DBA) algorithm represents a flexible method for partitioning string sequences...
View Article