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

My CallStack Class is a mess

OK... that was click-bait. It's not a mess but man does it bring my app to its knees. For example, when I click the Communications Button (which saves whatever setting it had last such as ALL, Past...

View Article


Image may be NSFW.
Clik here to view.

All My DB Utilities (for DAO)

I love this file. I will marry this file if it will have me. I will be buried with this file. This file should have my babies. DAO Utilities.zip Edit: Of course you'll have to remove all the callstack...

View Article


How I enable Cut, Copy and Paste buttons and menu items

I like the way I did this. Basically it's set up on a Timer set to 250 milliseconds. So every quarter second it's getting checked. You can see the slight delay but I don't want to make the Timer too...

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

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 - Updated code)

============== 4-5-2024 @1755ish This is a new version of the code. It's cleaned up a lot and more consistent in the style as well as some code just being better. Same functionality as before....

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

Image may be NSFW.
Clik here to view.

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

OK, I found a couple more small inconsistencies, a variable that's not being used and added some frivolity for fun. The upload below is good and complete (with the exception of a counter starting at 2...

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.0 - Modern DriveList Replacement While my ucShellBrowse control is capable of displaying a drive list like this, it's really overkill if that's all you need. I thought VB6 and...

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
Browsing all 1463 articles
Browse latest View live


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