VB6 Regfree Handling of AX-Plugin-Dlls per DirectCOM
One necessity, to make the handling of VB6-produced ActiveX-Dlls more easy, is the regfree loading of the Classes which are contained in the Plugin-Dlls. Once that is out of the way (we use...
View Article[VB6] Reg-Free COM at runtime via Microsoft.Windows.ActCtx
One of the slick things Microsoft developed before they pulled the plug on VB development and threw everything behind .Net was registration-free COM. Sadly, the change in direction meant that they...
View ArticleTransit Time Tester
Users sometimes want to know how accessible a certain site is and how long it takes to get to it. The "ping" command has traditionally been used for that, but there are problems using this utility. The...
View ArticleDrawLine function with pixel count output
This is a function I wrote intended to replace the built-in VB6 Line method. With the internal Line method, in addition to all the intermediate pixels of a line, the first pixel is also drawn. But...
View Article[VB6, Vista+] List all file properties, locale/unit formatted, by modern...
Previous VB6 methods for listing file properties haven't used the newer methods, which are especially handy if you're already working with IShellItem. This code is a tour of the modern property system,...
View Article[VB6] Yet another simple and versatile Tray Icon code with subclassing
Yesterday, I didn't know what 'subclassing' is. Today I made a complete solution to serve all your tray icon needs. Easy to use: just create a cSysTray object in your form, pass the hWnd and you're...
View ArticleVB6 - NewSocket (updated)
NewSocket.cls/mWinsock.bas has received several small updates. 1. All references to StrConv/vbUnicode have been removed and replaced by StrToByte/ByteToStr. This was necessitated to support some upper...
View ArticlemodZlib.bas
This is my module file for using zlibwapi.dll in VB6. To use this code, simply copy the text in the code box at the bottom of this post, and paste it into an empty module in VB6. Note that you must...
View ArticlemodCRC.bas
This is my code for CRC calculating. It calculates CRC32 using the standard polynomial 0x04C11DB7, and also 2 different 16bit CRCs (one uses the standard CRC16 polynomial 0x8005, and the other uses the...
View Article[VB6, Vista+] Undocumented ListView feature: Footer items
Ran across this nifty thing on codeproject, and successfully got it working in VB. Tested and working with 5.0 ListView and API ListView (it will also work on krool's Common Control Replacement...
View Article[VB6, Vista+] Undocumented ListView feature: Subsetted Groups (simple, no TLB)
Compatibility: Like other modern features, this should work with API-created ListView's including krools, as well as the 5.0 Common Controls ListView in an IDE and/or compiled EXE manifested for the...
View Article[VB6, XP+] Code snippet: Show combined file properties window-...
It's easy to show the file property window for a single file with ShellExecuteEx, but what if you wanted to also show a property window for multiple files in multiple paths as you can do in Explorer?...
View ArticleDuktape JS engine for vb6
Hi guys, thought i would share a project I have been working on. I wanted to find a newer javascript engine that I could use with vb6. All in all the MS script control is very capable and easy to use,...
View Article[VB6, Vista+] Host Windows Explorer on your form: navigation tree and/or folder
IExplorerBrowser IExplorerBrowser is an easy to use, more complete version of IShellView that lets you have a complete Explorer frame on your form, with very little code. You can either have just a...
View Article[vbRichClient] - How to create tabs ?
Hi, I would like to avoid to use the tabstrip control or the bugged SStabs. So I was looking for a code example of tabs with vbRichClient and I don't find exactly what I looking for. I'm about to use...
View ArticleRegister/Unregister both DLLs and OCXs with RightClick
I used a vbscript provided by Olaf to register vbRichClient5, changed it a bit, and added 4 entries to registry. Now I'm able to register/unregister both DLLs and OCXs with a simple RightMouse click...
View Article[VB6] - Module for working with COM-Dll without registration.
Hello. I give my module for working with COM-DLL without registration in the registry. The module has several functions: GetAllCoclasses - returns to the list of classes and unique identifiers are...
View ArticleVb6 - cng test
Attached is a test program for various CNG (Cryptography Next Generation) functions. 1. Create Key Pair 2. Sign Data 3. Verify Signature 4. Test Hashes (AES-GMAC not functional yet) 5. Generate Random...
View ArticleHook system wide with DLL in C++
Hello, Even we are in 2015 and vb6 is old, its still great. As I had been in difficult to find a simple and efficient method to do hooking system wide, so I share my source code, here in zip...
View Article[VB6] Color Management - Different Approach
The class included in the attached zip file is intended for those that want to add some color management to their VB projects with minimal effort. The color management class (cICMLite) uses GDI higher...
View Article