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 ArticleRC6 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 ArticleVB6 - 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 ArticleExpand 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 ArticleVB6 - 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 ArticleVb6 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 Articlesimple 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 ArticleCreating 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 ArticleVB6 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 ArticleVB6 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 ArticleSocket 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 ArticleEasing 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 ArticleRecursive 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 ArticleRPN 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 ArticleDetect 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 ArticleDetect 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 ArticleGet 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[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 ArticleVB6 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