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

Image may be NSFW.
Clik here to view.

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 Article


Taking 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 Article


Possible 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 Article

Image may be NSFW.
Clik here to view.

Using 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 Article

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

-

---- Can my post please be remove from the CodeBank? I understood now that this is not the right place for my question.

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.

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


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

Degrees Chart Generator

Make a degree chart and print it out. The code is not rocket science but maybe someone can use it.

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


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