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

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

Image may be NSFW.
Clik here to view.

DrawingControls for VB6: Shape and Line controls replacement with anti-aliasing

This is a further development of the ShapeEx control. In this case, it is in an ocx project and has been added the companion control LineEx, that is a Line control replacement. The main advantage is...

View Article


Image may be NSFW.
Clik here to view.

ucGallery - Direct2D

Hi, I want to share this usercontrol that I have been working on these days, it is a Gallery control to show images and text, I had done this control previously using GDI+ but its performance was not...

View Article

Image may be NSFW.
Clik here to view.

VB6 - Original InputBox function reloaded with full Unicode and Password Char...

Every time I've searched the internet on how to make the InputBox function support Unicode, the answers were to make your own InputBox using a form, a couple of buttons and a TextBox that supports...

View Article


Image may be NSFW.
Clik here to view.

VB6 - Unicode Captions for all intrinsic controls (yes, LABEL too!) - no OCX...

When developing international applications there is often a need to display user interface elements in foreign languages. I've put together a small "cCapW" class that can handle Unicode captions for...

View Article

Image may be NSFW.
Clik here to view.

Iocp Server by vb6

"This should be considered a very simple server, with many functions not implemented, and only one framework. I don't think there are many people who need this thing, but I have spent a lot of time...

View Article


Image may be NSFW.
Clik here to view.

VB6 ADO-Rs-like "multi-column-container"

As the title already suggests, here the base-code for an implementation - which (other than a free-standing ADO-Rs), comes with support for "direct memory-access to already contained data"... to allow...

View Article

Image may be NSFW.
Clik here to view.

ADO Disconnected Recordsets

Over the last few days, I've been exploring the abilities and limits of ADO disconnected recordsets. These are memory-based recordsets that have no need for any physical database, and can be...

View Article

Single for-loop traversal over 2D/3D arrays

This source code shows the traversal of a two-dimensional array by one for-loop structure. A 2D-array variable (A) is declared. A string variable t is initially set to empty. A variable v is set to...

View Article
Browsing all 1486 articles
Browse latest View live