The VarFrame Class
This is a new class to hold a frame of variables. This can help on making script languages, to keep variables, which means sets of Names and Values. The interesting part, is how we can establish a...
View ArticleGCluster - an experimental detector
The current VB6 application is an experimental detector that uses a dynamic method named "in-depth analysis" to find and interpret CpG islands, CpG clusters and other dinucleotide structures. In-depth...
View ArticleDebug Byte Array
I use byte arrays a lot, and traditionally I have used the following routine to display the results in the Immediate window. Code: Private Sub DebugPrintByteOrg(sDescr As String, bArray() As Byte)...
View ArticleLongLong (LL) self-instantiating Class (CLS module) using Currency
This has been bantered around many times, and I've wanted to do it for a while. So, here it is. It's a self-instantiating class. (VB_PredeclaredId=True, no need to declare and/or instantiate an object...
View ArticleVB6 Blocking-Behaviour in Windows-NonClientAreas (and a solution)
Ever wondered, why e.g. an animation (or other time-critical processing) "stalls" - when a given Forms Caption-Area is clicked with e.g. the right MouseButton? From what I've googled, MS seems to have...
View Article[VB6] Create a TaskPane For Ms Office : Excel - Word - Access - PowerPoint -...
1/ About 2 years ago I wrote 1 AddIns Taskpane on VB6 which is very good for 32-bit Office. But when I copy to another computer, it gives me an error of missing libraries. I find the relevant...
View ArticleScripting arbitrary vb6 applications
This article may be of interest to people here: Gain script access to any compiled Visual Basic 6 executable. Accomplished by instrumentation of the runtime and utilizing design features of the...
View ArticleUtility to capture animated GIFs from the screen
. First and foremost, I want to acknowledge that the vast majority of this code is from code written by The Trick (found here), and a HUGE thanks goes out to him for that work. Basically, what I've...
View ArticlePixel ruler
Many years ago, at the time of VB4, I developed a small application for my own use. Later I offered it as freeware on my homepage. Now I decided to release the source code for it. As I said, this is...
View ArticleVB6 Pixel ruler & screenshot editor
Many years ago, at the time of VB4, I developed a small application for my own use. Later I offered it as freeware on my homepage. Now I decided to release the source code for it. As I said, this is...
View ArticleEasy & ingenious mousewheel scrolling
This demo shows a small, easy, stable and ingenious way to add mousewheel support to most any control such as scrollbars etc. Note that the included MouseScroll.bas module is not my code and was not...
View Article[VB6/VBA] Using Microsoft Translator API from the Azure Cognitive Services
First create a Translator resource in Microsoft's Azure portal (free tier for up to 2 million characters per month) so that you can get your key and region that you'll use for STR_KEY and STR_REGION...
View ArticlePrevent UAC sound/check for VB6.exe
I found this: UAC Whitelist for Windows 10 · GitHub And works. I have UAC always on, and policy for scripts Restricted, so to enable a white list for applications like VB6 which do changes to OS, and...
View ArticleCInt64() How to use it.
Using integer division on long long works. Here is the output from this module. You can use long long for calculations. See the power function. Also I found that 2^63 return negative, the actual...
View ArticleIdle Screen Player
Did you ever want to have a relaxing movie playing when your computer is sitting idle? Below is a program that will start maximized. Code: Option Explicit Private Sub chkMax_Click() End Sub Private Sub...
View ArticleProgrammers wanted to test a numerical library
Hello, I'm looking for some programmers to beta test a numerical library, written as an ActiveX dll in VB 6 pro. The library provides all elementary functions for integer, floating point and complex...
View ArticleProgramming Krool's TextBoxW to get numeric value with decimals and units/info
This is my solution for taken a value or value and unit/info in a TextBoxW, including null value (empty string). Code: Alignment = 1 - vbRightJustufy AllowOverType = True ' its better CausesValidation...
View ArticleVB6 RichEdit (riched20.dll) lightweight Unicode Textbox (only code, no OCX...
This is my attempt to implement a lightweight wrapper class for the RichEdit control (riched20.dll) which has Unicode support and comes by default with any version of Windows (only tested in Win10...
View Article[VB6] Using DDE to check for previous instance
Description This is a small sample on using DDE to check for a running previous instance (w/o using App.PrevInstance) and how to pass current command-line to this already running instance. Usage In an...
View ArticleUnsigned Subtraction for using timer without problem on overlap
The UnsignedSub(a, b) get two signed long, and return a sign long (has the same bits as the unsigned result). For time duration, we can use Signed(a) which get a number and convert it to singed long,...
View Article