MS-OXRTFCP Compressed RTF Decompression Methods
I had a need to decompress MS-OXRTFCP Compressed RTF data that is used by Outlook messages. The format is described here in great detail: https://interoperability.blob.core.w...OXRTFCP%5d.pdf I wasn't...
View ArticlePassword Protection
Protecting passwords is not a simple task. For material that is not highly sensitive, it is enough just to make it difficult for the hacker. That involves using passwords at least 8 characters in...
View Article(VB6) Get the main or prevalent color tone of a picture
Some applications set a background color (or even other "theme" colors) based on an image that the user selects. That's the idea, to get the main color tone of an image. Download from GitHub. Attached...
View ArticleTransmit 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 ArticleWhich variable type for math on duration value ?
Hi, On Jingle Palette, I'm adding the duration of each jingles. I get each duration from BASS Plugin : Code: Dim cHandle As String Dim JSec As Variant cHandle = BASS_StreamCreateFile(BASSFALSE, tpath,...
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 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 Article