Quantcast
Browsing all 1529 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Right-click Type (UDT) usage in code and go to its Declaration (Add-In)

IMHO, this was a major oversight in the VB6 IDE that should have been included. We can right-click in code (getting context menu and selecting "Definition") and go to the declarations of about...

View Article


Image may be NSFW.
Clik here to view.

Registry Free Object Instantiation using DirectCOM & RC6

There are a few variations of this kind of reg-free "bootstrapping" module already circulating, but I wanted to write one that was highly commented in the hope that it will help some newcomers better...

View Article


Image may be NSFW.
Clik here to view.

LOGIC_GATES in VB6

Dear All Just recently I have developed a code on Logic Gates in VB6. Hope it will be helpful to some of them here. The Original code belongs to Use Adlib Logic, I don't know the name of the Original...

View Article

Image may be NSFW.
Clik here to view.

VB6 - GetFile

Attached are sample programs that facilitate downloading a file from a remote server using encryption. It was adapted from SendFile. https://www.vbforums.com/showthread....-File-Transfer The encryption...

View Article

Function for checking if a property or method exists inside a object

After searching for different ways to check if a method exists, i found that most of them were either slow (using TLI objects) or used error handling while also calling the method, then after some...

View Article


Image may be NSFW.
Clik here to view.

VB6 MSHFlexGrid & MSFlexGrid vertical & horizontal scroll MouseWheel Roll and...

Many modern mice have scroll wheels which can tilt left or right to allow for horizontal scrolling of wide documents like spreadsheets and web pages. The attached program demos a module that allows you...

View Article

Image may be NSFW.
Clik here to view.

[VB6/VBA] QR Code generator library

This is a single file no dependency pure VB6 implementation of a QR Code Generator based on https://www.nayuki.io/page/qr-code-generator-library Just add mdQRCodegen.bas to your project and call...

View Article

[VB6/VBA] Pure VB6 implementation of ChaCha20-Poly1305 authenticated encryption

mdChaCha20Poly1305.bas is a pure VB6 implementation of ChaCha20 stream cipher, Poly1305 hash for MAC and combining these finally we get the ChaCha20-Poly1305 AEAD implemented in less than 400 lines of...

View Article


[VB6/VBA] Pure VB6 implementation of MD5 hash for the grins :-))

md5.bas is a 120 lines of code implementation of MD5 message digest as specified in RFC 1321. Code: '--- md5.bas Option Explicit DefObj A-Z #Const HasPtrSafe = (VBA7 <> 0) Or (TWINBASIC <>...

View Article


Image may be NSFW.
Clik here to view.

Typelib to add LongPtr type to VB6 for universal codebases

VB6LongPtr.tlb - Add LongPtr to VB6 This is just a dead simple typedef but I didn't see anything like it readily available, so thought I'd post the one I made. While you can (and must) use compiler...

View Article

Image may be NSFW.
Clik here to view.

VB6 Cairo-Paths and Projections

The Demo shows, how to create Path-Objects via simple helper-functions (of return-type cCairoPath) - and how to "Append" and then "Stroke" these Paths via similar named methods on a cCairoContext. I...

View Article

Image may be NSFW.
Clik here to view.

VB6 Stock-Data-Rendering via RC6 cChart-Class

The Demo shows, how one can use the built-in cChart-HelperClass of the RC6, to "ease the pain" with: - correct handling of ChartArea-Offsets - rendering of x- and y-Axis-Ticks and -Texts at the correct...

View Article

[VB6/VBA] Pure VB6 implementation or SHA-1 hash

This mdSha1.bas is a pure VB6 implementation of the venerable SHA-1 message digest algorithm. Code: '--- mdSha1.bas Option Explicit DefObj A-Z #Const HasPtrSafe = (VBA7 <> 0) #Const HasOperators...

View Article


How do you PARSE CSV data stored into a String Buffer?

Experimenting with Olaf's RC6 charting code and I wanted to have it display actual CSV price data stored on my drive. So I added a FileOpen dialog box that allows choosing the CSV file and loaded the...

View Article

ADMIN please delete - My bad sorry.

posted here in error

View Article


API CallBacks Using an Object's Procedure

API CallBacks Using an Object's Procedure Attributions: Huge thanks goes out to The Trick, Wqweto, Dz32, Fafalone, and LaVolpe. They all provided insights, inspiration, and code toward what you see in...

View Article

Safer way to convert full ANSI strings

Thanks to wqweto, I found a faster and safer way to convert full ANSI strings to byte array. Code: Option Explicit Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As...

View Article


Call BAS Procedure By Address

This comes up occasionally, and it's probably been done before ... but I developed it for testing some other code I've been working on. So, I thought I'd post it. It's all fairly well outlined in the...

View Article

[VB6/VBA] Scrypt KDF implementation of RFC 7914

This mdScryptKdf.bas implements scrypt password-based key derivation function as described in RFC 7914. This module depends on mdSha2.bas for its PBKDF2-HMAC-SHA2 implementation (calls...

View Article

Image may be NSFW.
Clik here to view.

Add Related Documents

There's a slightly hidden feature in the VB6 IDE that allows you to attach "Related Documents" to your project. Until now, the only way to do it was to edit your VBP file with Notepad, and then add a...

View Article
Browsing all 1529 articles
Browse latest View live


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