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

Undo / Redo Class

Hi all, i know this was discussed a lot, but i made a class for undo / redo in a project (using code from everywhere). It's working for textboxes and for Vbflexgrid, but it's easy to add more controls....

View Article


RC6 cCairoSurface: Implementing a "biggest font size available" logic

Hello! I am in the process of removing all of my custom made DrawTextW etc. code since all that is available in a very intelligent way in RC6 cCairoSurface. I am tempted to use my old code to establish...

View Article


Image may be NSFW.
Clik here to view.

VB6 - How to Raise Events from late-bound objects (declared generically As...

This project continues the idea from this post, that is, trying to raise events from late-bound objects that cannot be declared "WithEvents". First you need to grab the greatest VB6 TypeLib of all...

View Article

Image may be NSFW.
Clik here to view.

Expand the VB6 IDE's "Recently Used" VBP file list via an Add-In

It caps out at 50, and then starts rolling the oldest off the end of the list. Attached is a VB6 IDE Add-In named Recent_VBPs_MRU. Just compile it (to its DLL), move it to wherever you keep your VB6...

View Article

Image may be NSFW.
Clik here to view.

VB6 - Raise Events from late-bound Objects (bonus "cRegFree" class for...

This project continues the idea from this post, that is, trying to raise events from late-bound objects that cannot be declared "WithEvents". First you need to grab the greatest VB6 TypeLib of all...

View Article


remove

please remove

View Article

Image may be NSFW.
Clik here to view.

Vb6 Degree Chart Generator

Create and print a degree chart for your projects. Code is not rocket science but maybe someone will find it useful. Attached Images   Attached Files Circle Degree Generator.zip (2.6 KB)

View Article

Image may be NSFW.
Clik here to view.

simple json w/MSScript control

simple example of using the msscript control to parse json 9.23 - updated with xiaoyao's recommendation of default property get with let support added enumProps, getType, isArray, stringify, beautify,...

View Article


Creating Persistent/Default Selections in List Boxes

I've received a lot of great help here in the last few weeks and want to add a little. Unless I've missed something there is no built-in way to maintain the currently selected items in a listbox or...

View Article


Image may be NSFW.
Clik here to view.

VB6 UserDrawn Combo

You can set the COMBO control to display different colors, different fonts and different pictures in each line. CODE FROM:https://www.vbforums.com/showthread....=1#post4828031 Attached Images...

View Article

Image may be NSFW.
Clik here to view.

VB6 Weave Preview Editor

This is a remake of an earlier version . I'm using the ShapeEx control by Eduardo. Sure makes the patterns look better. See what you . Attached Images   Attached Files Preview Editor.zip (84.6 KB)

View Article

Image may be NSFW.
Clik here to view.

Socket API

SimpleSock is reliable and easy to use, but it is also complex and relatively inefficient. It was originally designed as a replacement for the Winsock Control, and many of the functions presented were...

View Article

Image may be NSFW.
Clik here to view.

Easing 2 animations / kind of a BlendTree

Hello everyone, I'm working on a VB6 project where I aim to implement a circle around the mouse pointer that moves along with it and changes its size based on the mouse travel speed. When the mouse...

View Article


Image may be NSFW.
Clik here to view.

Recursive Decent Parsing

hi I made this years back and found it while looking for other codes on my hard drive. you can do math expressions in it. so I hope this may help someone. lex4.zip Attached Files lex4.zip (12.3 KB)

View Article

RPN Calc

Feeling a bit drunk so Thought I whip out my old vb compiler not used it in years any way here is a lame RPN calulator I made have fun. Code: Private stack(0 To 100) As Double Private sk_size As...

View Article


Detect if a program is in the foreground in full screen mode

Code: Option Explicit Private Enum QUERY_USER_NOTIFICATION_STATE     QUNS_NOT_PRESENT = 1     QUNS_BUSY = 2     QUNS_RUNNING_D3D_FULL_SCREEN = 3     QUNS_PRESENTATION_MODE = 4...

View Article

Detect if the program in the foreground is in full screen mode

Code: Option Explicit Private Enum QUERY_USER_NOTIFICATION_STATE     QUNS_NOT_PRESENT = 1     QUNS_BUSY = 2     QUNS_RUNNING_D3D_FULL_SCREEN = 3     QUNS_PRESENTATION_MODE = 4...

View Article


Image may be NSFW.
Clik here to view.

Get date/time from Internet

Bas module: Code: Option Explicit Private Const TIME_ZONE_ID_DAYLIGHT As Long = 2 Private Type SYSTEMTIME     wYear As Integer     wMonth As Integer     wDayOfWeek As Integer     wDay As Integer...

View Article

Image may be NSFW.
Clik here to view.

[VB6, twinBASIC] System Magnification API Demo (32/64bit)

System Magnification API Demo This is a quick port of the Windows SDK example for the Magnification API. There's two versions: The original twinBASIC version, made using WinDevLib, so all...

View Article

Image may be NSFW.
Clik here to view.

VB6 Color Blender

I was bored so I threw this together from a bunch of code I have saved. It may not be perfect, but I think I have most of the bugs out. See what you think. Maybe someone can make use of it. Attached...

View Article
Browsing all 1460 articles
Browse latest View live


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