VB6 - Simplest IDE-Safe Subclassing, No Thunks, No Crashes (just like VB6...
This project continues the idea from this post (basically using an ActiveX DLL for subclassing while developing in IDE and switching to regular subclassing in the final executable based on a...
View ArticleTaking a screenshot and have it / save it with cCairoSurface
Hello! Can somebody tell me how to take a screenshot and (successfully) have it / store it using a cCairoSurface? The following code creates an image of the desired size, however it is transparent...
View ArticlePossible bug in RC6 cCairoSurface
Hello! I am not sure if there is any official RC6 thread... Could you please check if the Booleans are a bug? Thank you! Function AdjustColors(Brightness As Double, [Contrast As Double], [Gamma As...
View ArticleUsing cCairoSurface drawing while preserving current image
Hello! I would like to draw a cCairoSurface image onto a DC while preserving what is there. Here is an example of what that looked like when I used c32bppdib. However, what I get when just using the...
View ArticleUndo / 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 Article-
---- Can my post please be remove from the CodeBank? I understood now that this is not the right place for my question.
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 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 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 ArticleDegrees Chart Generator
Make a degree chart and print it out. The code is not rocket science but maybe someone can use it.
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 Article