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

I *REALLY* don't like the maskededitbox. So I rolled my own.

It's not nearly as functional but it does what I need it to do without having to deal with mask, format and I don't remember what else. I stopped using them long ago and don't remember all the ways...

View Article


Image may be NSFW.
Clik here to view.

My CallStack Class is a mess (Working Demo)

CallStack Demo.zip If you have MZTools or something like it you can create a macro that automatically inserts the callstack stuff into any procedure with the correct information. I really like MZTools....

View Article


Image may be NSFW.
Clik here to view.

My CallStack Class (Working Demo - Updated code (again))

===================== CallStack Demo3.zip ===================== OK, I think I'm done working on this demo. I've changed it so that it doesn't create an endless list of files. You can can specify a...

View Article

Image may be NSFW.
Clik here to view.

[VB6, twinBASIC] Code snippet: Toggle airplane mode

Newer versions of Windows have an 'Airplane mode' toggle like cell phones that turns off all the radios, which on a desktop might only be WiFi, but if you have a Surface tablet would also Bluetooth...

View Article

Global Mouse Position Over My Form

I need to get the mouse XY coordinates while over a form with several controls visible. I use this to get the global mouse position. Form scalemode is vbTwips. Form is 2 - Sizable Form has no control...

View Article


Automatic mouse click operation

Automatic mouse click operation Code: Option Explicit Private Declare Function SystemParametersInfo _                 Lib "user32" _                 Alias "SystemParametersInfoA" (ByVal uAction As...

View Article

Image may be NSFW.
Clik here to view.

RCFlexGrid Control (vbRichClient)

Krool wrote a really great control, VBFlexGrid. For vbRichClient users, we also really needed a component like VBFlexGrid, so I rewrote Krool's VBFlexGrid with RC6. I developed RCFlexGrid (cwFlexGrid)...

View Article

Image may be NSFW.
Clik here to view.

Standard DLL Creation (and Usage) with VB6 (à la, The Trick)

Let me say from the outset that it's The Trick who sorted the magic of doing this, and who seems to know all the compiled VB6 headers better than the back of his hand. He's done some work that allows...

View Article


Image may be NSFW.
Clik here to view.

Random-Depth Tree Creator/Editor

Edit (2024-04-18@2216ish) I made a mistake. I've been running the Tree Creator over and over and it is *not* doing what I want. Essentially any Root Branch could branch differently from any other root...

View Article


Look what I found,City of Ages is a Published Visual Basic 6 game on...

Look what I found !!! Free in everyway to a programmer and player, thought you VB addicts can have a look! https://store.steampowered.com/app/6...ient_included/ Github.com...

View Article

Image may be NSFW.
Clik here to view.

[VB6, twinBASIC] ucDriveCombo - A modern DriveList replacement

ucDriveCombo v1.2 - Modern DriveList Replacement Updated 22 Apr 2024 While my ucShellBrowse control is capable of displaying a drive list like this, it's really overkill if that's all you need. I...

View Article

Image may be NSFW.
Clik here to view.

Random-Depth Tree Creator/Editor (Finished and MUCH better!)

This code is Significantly revised - cleaner, better, much faster, many more features than the previous upload a couple weeks ago. I think it deserves it's own thread. Let me know if I'm wrong about...

View Article

Image may be NSFW.
Clik here to view.

Copy Files using API

In my previous post: https://www.vbforums.com/showthread....using-File-API I had mentioned encountering an Error: 1784 when attempting to use a standard DLL. In that attempt I was using a variable...

View Article


Image may be NSFW.
Clik here to view.

Homegrown Self-Balancing Binary Search Tree (BST)

Self-Balancing Binary Search Tree (BST) in Pure VB6 Code (no dependencies, no typelib) This is a pure VB6 self-balancing binary search tree (BST) developed in the vein of Adelson-Velsky and Landis's...

View Article

Image may be NSFW.
Clik here to view.

DreamAX

hi i found this on my computer when I used to work in VB6 I started a project of seeing how many Active X controls I could make anyway I did quite a few and a few classes anyway I thought this maybe...

View Article


Full Screen (across all monitors) Image as StdPicture

I put this together for another project, but it came up in another thread so I'm posting it here. It's just a snippet, but I think it's worthy of the codebank. I just threw it all into a Form1 for demo...

View Article

Image may be NSFW.
Clik here to view.

ScreenClip

ScreenClip - A Utility for Taking Clipped Images of your Desktop This is just a small utility for those who prefer a bit more than what the Windows 11 screen clipping allows. This ScreenClip utility...

View Article


Image may be NSFW.
Clik here to view.

VB6 - Screen Capture to Video, Grab a Window or the Full Screen & Encode to...

This is more of a continuation to my previous Windows Graphics Capture project but with enough modifications to warrant a new thread. Now, in addition to capturing any top level window or the whole...

View Article

Image may be NSFW.
Clik here to view.

The module for displaying text on a Unicode form

Code: Option Explicit '////////////////////////////////////////////////////// '// The module for displaying text on a Unicode form // '// Copyright (c) 14.05.2024 by HackerVlad          // '// e-mail:...

View Article

Image may be NSFW.
Clik here to view.

Cryptographically Secure Random Long or Integer (with optional ranges)

Cryptographically Secure Random Long or Integer This has been asked for, so I whipped it up. Here's the code for a class, but it's got VB_PredeclaredId turned on, so you're better off downloading the...

View Article
Browsing all 1471 articles
Browse latest View live


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