modCRC.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, itÂ’s 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[VB6, Vista+] Code snippet: KnownFolders made easy with IKnownFolderManager
Using the KnownFolderManager Object oleexp 2.0 includes the IKnownFolderManager and IKnownFolder interfaces. If plan on doing any work with the Known Folders that replaced CSIDL Special Locations and...
View Article[VB6] Color Management and VB6 How-Tos
The intent of this thread is to explain how color management can be used in VB6. There may be code samples included in some posts and/or links where code samples can be found. This thread will be...
View ArticleAlgorithm - Detect Alpha Usage and Type From Pixel Data
For those of us that use GDI+, we know that it has a major issue loading bitmaps that contain alpha data. Maybe not a major concern, because GDI basically ignores the alpha channel in most every...
View ArticleM2000 now can handle Word
After two days I found a way to call methods with named arguments. The problem was in typelib "IDispatch Interface - Eduardo Morcillo" So I use the ole/com object user to extract the idl file. Code:...
View ArticleWindows 7 compatibility mode
I notice that when I use in vb6 program (M2000.exe) combatibility mode (anyone, including Wimdows 7 in a Widnows 7 system) the speed droped. We need 3.5 more time to do the same loop. I am thinking...
View Articledm Simple VM
hi, This is my little Toy VM I try to made tonight it a little basic at the moment since it my first real try at something like this. I try and add more stuff as I go along anyway hope you like the...
View Article[VB6] IPreviewHandler: Show non-image file previews from any reg'd preview...
IPreviewHandler Example Many file types have registered preview handlers, not just images. Typically documents, videos, fonts, music, even registry files, all have a preview handler that you can put on...
View ArticleVB6 - TLSCrypto Using CNG
The attached programs are the culmination of my efforts to update my cryptography Class to use Cryptography Next Generation (CNG) from Microsoft. It is by no means the final version, as it simply...
View Article