VB6 - The case for UTF-8
Some people have been critical of the fact that my clsCNG.cls does not preserve Unicode. So with this post, I have attempted to correct that situation. I am by no means any kind of expert on Unicode,...
View ArticleHere's my non CopyMemory based solution for swapping byte order
Often times I find myself trying to write a file for another program to read, or read a file written by another program, in which that other program uses Big Endian byte order, even though VB6 uses...
View ArticleVB6 - DNS Filter Service
Version 2.5 of DNSFilSvc utilizes version 3.2 of WinpkFilter from NT Kernel Resources. This version of WinpkFilter is not compatible with older versions because it supports both IPv4 and IPv6. The...
View ArticleThis allows you to convert any normal array into a byte array.
It uses a Variant for the input parameter so that you don't need to have a specific array type (Byte, Integer, etc) when putting the array into the parameter. It then uses API functions, rather than...
View ArticleStdDataFormat as a data parser
People often rely on String to binary data type coercion, but it can fall down (hard) in many scenarios. There is always the cross-locale issue with many data types (Booleans, numbers, and date/time in...
View ArticleVB6 Threading-Examples using the vbRichClient5 ThreadHandler
As the Title says, two Threading-Examples which make use of the vbRichClient5-cThreadHandler-Class. (as requested in this thread here: http://www.vbforums.com/showthread.p...=1#post4991011) Make sure...
View ArticleVisual Basic Advance Timer
Did you coded or experienced a timer with more then 60 seconds interval or a timer with maximum cap limit ? Here it all now : Functions:- Intervals 1 , 5 , 10 and 15 minutesMaximum Timer Life 1 , 2 ,3...
View ArticlemdlSSE: Using SSE instructions (floating point related) in VB6 (in ASM)
Hello all! I've developed this module to allow the use of SSE (SSE2 and 3) operations, to compute floating point operations directly by the CPU (and in 1 clock!). SSE support the sum, sub, mul, div,...
View Article[VB6] GetAdaptersInfo Example
See GetAdaptersInfo function for the details. This sample program makes some basic use of the API call and the results it returns to report on network adapters in your system. If you need more...
View ArticleVB6 - NewSocket 2.5
The orginal CSocket & cSocket2 were designed to emulate the Microsoft Winsock Control. Data would be sent and recovered as variants. On input, the variant was converted to byte array, converted to...
View Article[vb6] AddressOf for Class, Form, UC methods
This will be of little use to the masses, but can be of good use for thunk creators/users and the curious. VB gives us the AddressOf function which can return the function address of any method within...
View Article[vb6] - Filter Listview User control
I will attach a zip here for archival, any updates will be on github, free for any use. https://github.com/dzzie/libs/tree/master/filterList Description: small usercontrol that gives you a listview...
View Articlevb6 - OCX: Javascript Engine, debugger, IDE
source: https://github.com/dzzie/duk4vb I have been tinkering with this project for a while now. I think it should be ready to share in the codebank now. binary compatibility has not been set yet but...
View ArticleI just found this really cool code sample for getting the MAC address.
I have been looking for something like this for a while now, and somebody on stackoverflow.com had this piece of code that gets the MAC address of the default network card, and also the current IP...
View Article[VB6] ProgramData for common files
The Wild West Back in those DOS and Win9x days you could pretty much dump files anywhere since there was no real filesystem security. On Windows 2000 and then on its minor update Windows XP, people...
View Article[VB6] MapStitcher.cls - Create imagemaps from images
Sometimes it can be handy to make use of the PictureClip control or similar approaches to grab and use small images "cut out" from a larger image set up in a grid layout. But usually we have separate...
View ArticleUsing a VB6 Collection in C++
This is vb6 specific so I am guessing this is probably the best place for it. Sometimes you need to do a task in C/C++ and call it from VB6. Maybe its a library only available in C or you found some...
View ArticleUsing VB6 Collections, Variants, & Byte Arrays in C++
This is vb6 specific so I am guessing this is probably the best place for it. Sometimes you need to do a task in C/C++ and call it from VB6. Maybe its a library only available in C or you found some...
View ArticleChaCha streaming cipher
this is a C chacha library as a vb compatible dll also an example on working with SafeArrays between C and VB symmetric so you just call it again to decrypt. I compiled with vs2008, release size 42k...
View ArticleVB6 - Unnamed Encryption Routine
Working with CNG (Cryptography Next Generation) can sometimes be a little frustrating, and often times MS is slow to add support for newer algorithms. So I came up with my own streaming Encryption...
View Article