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

Image may be NSFW.
Clik here to view.

Pixel 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 Article


Image may be NSFW.
Clik here to view.

VB6 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 Article


Image may be NSFW.
Clik here to view.

Easy & 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 mil characters per month) so that you can get your key and region that you'll use for STR_KEY and STR_REGION...

View Article

Prevent 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 Article


CInt64() 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 Article

Idle 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 Article

Programmers 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 Article


Programming 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 Article


Image may be NSFW.
Clik here to view.

VB6 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 Article

Unsigned 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

Image may be NSFW.
Clik here to view.

Dynamic UDT TypeLibs

Dynamic UDT TypeLibs First and foremost, a huge thanks goes out to The Trick for showing me how to do most of this. Thanks also goes out to Fafalone for making the oleexp.tlb which exposes the...

View Article


Image may be NSFW.
Clik here to view.

Standardized Login

Every time I make a program requiring the user to login, I end up designing the login system from scratch. So I decided to create a standardized system. Objectives: 1. Require a UserID & Password...

View Article

Passing array in Variant by reference

This is the Class1, which have sub alfa and a parameter an array of type long. Code: Sub alfa(b() As Long) Debug.Print "ok" b(0) = 100 End Sub It is impossible to have an array of type long in variant...

View Article


[VB6/VBA] Ascon Lightweight Authenticated Encryption & Hashing

Description ASCON is a family of functions for Authenticated encryption (AEAD) and hashing (fixed or variable output length) and was recently selected as the best of the 57 proposals submitted to NIST...

View Article

[VB6] LessPass Desktop Tool in pure VB6

A tiny LessPass implementation in VB6 based on lesspass repo by Guillaume Vincent. Description This is an algorithmic password generator. The clever idea is that the algorithm used produces the same...

View Article


Image may be NSFW.
Clik here to view.

UDT TypeLib File Generator with User Interface (all in VB6)

This is a program to generate ???.tlb files with UDT information. Basically, it's just a UI for the work posted here. Anyone who knows how to code a UDT should find this utility fairly easy to use. Why...

View Article

Image may be NSFW.
Clik here to view.

AddIn to save and load bookmarks in the VB6 IDE

I have written an AddIn for the VB6 IDE, to save and load the bookmarks. This is done project specific, for each project the bookmarks are save separately (by project name). When the AddIn is loaded,...

View Article

Image may be NSFW.
Clik here to view.

Password Bin

If you are like me, you probably have difficulty in trying to remember all the different passwords that are now required to login anywhere. We are strongly encouraged to not reuse passwords and to make...

View Article
Browsing all 1448 articles
Browse latest View live