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

Image may be NSFW.
Clik here to view.

Binary metamorphosis

The VB6 applications shown here use the hexadecimal system to encode the binary content of an executable file. The point here is that one may compile an executable file that contains another executable...

View Article


Image may be NSFW.
Clik here to view.

Array Information

Below is a follow-up for a discussion here on vbForums. Every array in VB is managed by VB through the use of a SFAEARRAY as defined here by Microsoft as part of Windows. Each array is assigned a...

View Article


delete this post

sorry

View Article

VB6 nestable UDT-based Node-Class with fast teardown

Not much to it, just a Demo for an UDT-based cNode-Class, which can be extended (by adding Fields to the Class-internal UDT). This Node-Class is "self-contained" (no extra-modules are needed)....

View Article

Image may be NSFW.
Clik here to view.

[VB6] Event Tracing for Windows - Monitoring File Activity with ETW

VBEventTrace v1.0 Using Event Tracing for Windows in VB6 Event Tracing for Windows (ETW) is a notoriously complex and unfriendly API, but it's extremely powerful. It allows access to messages from the...

View Article


Image may be NSFW.
Clik here to view.

Connecting to a Bitcoin node with Winsock and performing a handshake

Considering that Bitcoin is open source C++, would it be possible to emulate a handshake and send it through VB6/mswinsck? Even with a glitchy request that isn't granted, but causes `bitcoind` to do...

View Article

Work with paths longer than MAX_PATH

Windows 10 allows to have paths > MAX_PATH (260 characters), but you'll have problems with VB and APIs. Here is a workaround: Code: Private Declare Function GetShortPathNameW Lib "kernel32" (ByVal...

View Article

Image may be NSFW.
Clik here to view.

TextBox SpellCheck

It is a class module to apply a spell checker to a TextBox or RichTextBox, it does it through the SpellCheckerFactorys interface, it is available from Windows 8 and later. Although with some controls...

View Article


Image may be NSFW.
Clik here to view.

VB6 ImageCaching and -Animation (using a single Resource-File for storage)

Just a Demo which applies the cGDIPlusCache-Class (as intended, as a Drop-In-Module). The original CodeBank-entry for cGDIPlusCache is here: https://www.vbforums.com/showthread....-cls-revisited...

View Article


Image may be NSFW.
Clik here to view.

[VB6] Crossword Puzzle Constructor

This is a program i threw together to generate crosswords based on a word/clue list. You can then print out the generated puzzle on a printer or solve it from within the program. For those that haven't...

View Article

[VB6] CSharedMemory - class for dynamic memory allocation in shared memory

This class provides dynamic memory allocation in shared memory like in a heap. https://github.com/thetrik/CSharedMemory

View Article

[VB6] CWaveFile - class for working with WAVE-PCM files.

Hello everyone. This is a class which allows to work with WAVE-PCM multichannel files (open/create/save). You can play the channels or mix them. https://github.com/thetrik/CWaveFile

View Article

ReDimPreserve Two dimension array

Code: Public Sub ReDimPreserve(arrPreserve, ByVal end_row2&, ByVal end_col2&, Optional ByVal start_row2, Optional ByVal start_col2) 'funtion: to break the limitation that ReDim Preserve cannot...

View Article


Image may be NSFW.
Clik here to view.

Shagratt's VB6 IDE AddIns collection (Latest versions)

Hi Guys! I dont have plans to keep working on them so I'm releasing all my work on VB6 IDE Addins as a collection. They are all stable and I use all of them daily for my projects. AddIns included are...

View Article

SimpleSock Update

If you use SimpleSock or SimpleServer, I have found a more efficient and faster way to receive sockets when using a fixed record header. TLS 1.3 encrypted records for example use a fixed 5 byte header....

View Article


Image may be NSFW.
Clik here to view.

Add scroll bars to VB-Forms, PictureBoxes and UserControls

Steve McMahon (www.vbAccelerator.com) provides a Scrollbar class which can add scroll bars to VB-Forms, PictureBoxes and UserControls. But the subclass (SSUBTMR.DLL) used by this class is not IDE-Safe....

View Article

Environment variable dumper

Put this code into Form1 of your project and run it. It will put automatically save a file called EnvironmentVariables.txt and then close. This text file contains the environment variables and their...

View Article


Image may be NSFW.
Clik here to view.

ucCalendar (Events calendar)

Calendar to which we can add events, this can be used for many things such as showing staff vacations, collection events, shifts, time activities or graphically showing date intervals. The control has...

View Article

Image may be NSFW.
Clik here to view.

Export/Import Variables, Properties & UDT's for VB6 & VBA

This system enables you to bundle data from a program into a highly compact binary array that can be sent to other programs, saved to disk, re-used within a program, etc. It works in 32- and 64-bit VBA...

View Article

Luhn checksum algorithm

This allows you to calculate the Luhn checksum for a string of decimal digits, as well as to validate that checksum. Here's the code. Code: Public Function Luhn(ByVal DecimalString As String) As Byte...

View Article
Browsing all 1499 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>