This isn't a question but I thought I'd start a thread where links to exceptionally useful (and widely applicable) vb6 code could be placed.

My choice is by someone called John Korejwa and is located on planet sourcecode at

Basically what it does is to overcome a serious deficiency in vb6 without resorting to 3rd party components

In vb6 pictures can only be stored as bitmaps. If your application involves capturing and storing images (such as document scans) this can require vastly greater hard disk space than if th images coulsd be stored as jpgs.

That's what this source code provides via a single class that incorporates jpeg compression code.

This limitation is the cause of innumerable questions on vb forums but this is the only code I've ever found that solves the problem just using code inside your vb6 program.

Was it helpful?


More useful VB6 code then you can shake a stick at :)


Edanmo's list of useful free vb controls.

I especially liked the richedit control which is Unicode compliant.

When mentioned by me in a different thread, Mark J suggested I moved this here. Still an excellent resource if you want to do high-speed visual basic programming. Originally meant as some kind of competition (with or without "doping") it shows the real strengths and weaknesses of VB6 at its core.

VBSpeed at has always been my favorite place to look before reinventing the wheel.

VBNet has a ton of useful stuff. Definately second the motion on VBAccelerator and Karl Paterson's site.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top