[VB6] Drag drop any format to other apps without custom IDataObject
3 Aug 2016 UPDATE: This is fairly complex stuff so I've added a sample project. The sample project also has functions for added a few more formats, and receives text too. An updated cDropTarget class...
View ArticleHere's my own frequency domain transform.
I believe that this transform may be completely new, an invention of my own. It is a variant of the DCT, that I've never seen documented before. It solves a problem that normal DCTs have. It allows you...
View ArticleCompletely Portable and Clean VB6 Projects
The objective here is to create a completely portable, dependency free, no registration needed, no installation needed, VB6 executable. Also, there's the added task that it should "clean up after...
View ArticleDPI-Aware WireFrame (RC5- and vbWidgets-based)
Just a little "Base-example" one could build upon, to produce a modern looking and DPI-aware GUI... (as requested by bPrice and Carlos in this thread here:...
View ArticleGUID To Path - find out which files are being referred to by a GUID->
GUID To Path is a program that attempts to determine which files are being referred to by a GUID. Simply provide one or more GUIDs and click "Search". A list of the GUIDs specified by the user and any...
View ArticleReflexivity (instantiating object from their name in a string) in VB6
This is code I've been working with over the last few days, making sure it works perfectly. It's about as clean as I'm going to get it, so it's time to post it here. As credits, this work originated...
View ArticleGPSP: GDI+ Bitmap Downscaler
Introduction This isn't particularly unique, but most of the examples I've found are either seriously flawed or wrap the same sort of thing up with a ton of extra functions your programs may not need....
View Article[VB6, Vista+] Advanced Thumbnail ListView: Icons, images, videos, framed...
I was motivated by dilettante's post to finally wrap up some of the advanced techniques I use for a top-tier thumbnail preview ListView. This combines many methods that I and others have developed for...
View ArticleDDE File Associations (open multiple files with a single memory-copy of your...
I wound up pulling this project together for another thread, and it wound up being fairly nice, so I thought I'd post it here. Basically, it's for the situation where you want a single-running-copy of...
View ArticleSimple and fast, lightweight HashList-Class (no APIs)
Not much to add to the Threads Title... the implementation of cHashList comes in only about 100 lines of code, and it can be used as a VB.Collection-compatible replacement with much better performance....
View ArticleVB6 Browse folder replacement dialog
I never enjoy using the default windows SHBrowseForFolder dialog, here is a replacement I am going to use going forward with more features from the OpenFile dialog git repo :...
View ArticleWrapper for VB6 Collections
There have been a couple of roll-your-own collection classes posted in these forums, and I'm not knocking any of these. Some of them claim to be faster than the core VB6 Collection object, and they may...
View ArticleThe Decimal Data Type
There are a few cases where API calls return 8 byte integers. FileSize and FileTime are a couple of them. These are never easily handled with VB6. Essentially, there are a couple of ways it's typically...
View ArticleMetafile Graphics for DPI Scaling
One of the headaches in addressing High DPI issues is the scaling of images within our user interfaces. These are typically small "icon" type images we display in various controls. In many cases we can...
View ArticleRTF Label & RTF Button
The attached project contains an RTF Label and an RTF Button control. I use these all the time, but I haven't messed with the code in either of them in years. There are quite possibly better options...
View ArticleVb6 - simple tcp connect
During the process of trying to figure out NAT Traversal (how to get around the problem of NAT blocking external connections), I had to simplify the process of TCP/IP connections. NewSocket was just...
View Article[VB6] - Trick Advanced Tools.
Hello everyone! I present to you a small project - Add-in that allows to some extent alleviate debugging some programs as well expand compilation possibilities. All the source codes are in the...
View Article[VB6] Using IAutoComplete / IAutoComplete2 including autocomplete with custom...
IAutoComplete / IAutoComplete2 / IEnumString SHAutocomplete has many well known limitations, the biggest being if you want to supply your own list to use with it. I was very impressed with Krool's work...
View ArticleImproved circle drawing
Here's my code for drawing a circle, that has significant improvements over the internal VB6 circle drawing commands. Code: Private Sub DrawCircle(ByVal X0 As Long, ByVal Y0 As Long, ByVal Radius As...
View ArticleUsing OERN (On Error Resume Next)
This isn't any substantial piece of code, but it points out a potential problem I see experienced programmers making on these forums. Also, I must give Bonnie West some credit for pointing this out to...
View Article