Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Browsing all 1577 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

VB6 - Add-in tools

i updated the Tab-strip add-in: 1 - added the windows maximizated, but, seems, these part autor add it on another version: https://www.vbforums.com/showthread....sing-hooking); 2 - added: when we...

View Article


[VB6, twinBASIC] Intro to Vectored Exception Handling: Crash-proof CopyMemory

It's been a long standing problem that access violations like a bad address for CopyMemory and other exceptions can't be handled by On Error. One solution to that is Vectored Exception Handling (VEH)....

View Article


Image may be NSFW.
Clik here to view.

[VB6, VBA, twinBASIC] Intro to Vectored Exception Handling: Crash-proof...

It's been a long standing problem that access violations like a bad address for CopyMemory and other exceptions can't be handled by On Error. One solution to that is Vectored Exception Handling (VEH)....

View Article

Image may be NSFW.
Clik here to view.

Hosting console in VB6 form

This time it comes with colors. Place a Timer1 on Form1 and paste this code: Code: '--- Form1 Option Explicit DefObj A-Z Private Const MODULE_NAME As String = "Form1"...

View Article

VB6 call-stack capture via dbghelp.dll (32-bit StackWalk + Unicode symbol APIs)

This module produces call-stacks with parameters peeked based on their types being surmised from the names w/ hungarian notation (heh) like this: Code: Project1.exe!Form1::pvProcess Line 38...

View Article


Return value from CallDevToolsProtocolMethod from RC6/cWebView2

I host WebView2 in my vb6 app using RC6. I would like to call CallDevToolsProtocolMethod Page.printToPDF and get the base64 of the pdf back, but I believe the current version of RC6 does not provide a...

View Article

Image may be NSFW.
Clik here to view.

IronVault - Emergency Intrusion Backup System

Hey hey guys/gals This crafty piece of code in vb6 is epic. IronVault - Emergency Intrusion Backup System ' Written in Visual Basic 6.0 (Uncompiled Source) ' ' Monitors Windows Security Event Log for...

View Article

How to use pixel-art upscaler for app icons on High DPI monitors

Thanks to Claude this project has been ported to pure VB6 implementation and it works! Code: '========================================================================= ' ' xBRZ 1.8 VB6 translation '...

View Article


[VB6] cWebView2 — RC6-compatible WebView2 wrapper

This is a drop-in replacement of vbRichClient6's cWebView2 class, implemented in pure VB6 directly against the official Microsoft WebView2 COM API. No RC6.dll dependency, no dependency on the WebView2...

View Article


[VB6] czWebview — Full-Featured WebView2 UserControl (No OCX, No Registration)

czWebview — Full-Featured WebView2 UserControl for VB6 Embed modern web content (HTML5, CSS3, ES6+) in your VB6 applications using the Microsoft Edge WebView2 Runtime. Zero external dependencies beyond...

View Article

Image may be NSFW.
Clik here to view.

[VB6] FlexGrid to XLSX (and CSV/PDF) Exporter — no Excel installation required

Download from GitHub. This code was made mainly by Claude Sonnet v4.6 and v5.0, but also with some collaboration from Gemini, ChatGPT, DeepSeek and off course from me. It exports any FlexGrid-family...

View Article

[VB6/TB] TC6 (TwinClient 6) — SQLite for VB6 and TwinBasic

TC6SQLite is another "em dash repo" namely Claude's reimplementation of the SQLite subsystem of RC6 as a single Ax-DLL. Note that TB's x64 port is not ready i.e. still uses winsqlite3.dll and does not...

View Article

Image may be NSFW.
Clik here to view.

UUID/GUID v7 Generator

I needed to generate UUID/GUID version 7 values and thought I would share the module in case anyone else here needs to do the same. A little background on UUIDv7 is available here:...

View Article


CSharedMemCache

Introduction CSharedMemCache is a name-based key-value memory cache that can be shared across processes. It is best suited to a small-to-medium, read-heavy/write-light, same-session cache shared by a...

View Article

Image may be NSFW.
Clik here to view.

Revised Simple GDI+ reusable Drawing Primitives Class

This is a revised version of my simple GDI+ Drawing Primitives Class. The big improvement is in the text drawing procedure, which now uses font-caching so as not to recreate the font object on every...

View Article


Image may be NSFW.
Clik here to view.

VB6 Resize Image

This simple routine allows an image to be resized dynamically, since the Image control and PictureBox control do not provide that function in VB6. J.A. Coutts Attached Files ResizeP.zip (206.3 KB)

View Article

Cross Process Shared Memory Cache w/ Blocking RW

Introduction CSharedMemCache is a name-based key-value memory cache that can be shared across processes. It is best suited to a small-to-medium, read-heavy/write-light, same-session cache shared by a...

View Article

Browsing all 1577 articles
Browse latest View live


Latest Images