Fuzzy Search Demo [VB6/vbRichClient5]
The vbRichClient5 library for VB6 includes support for the SQLite database engine, and acts as a wrapper for the user defined collation (sort) and user-defined functions features of SQLite. Thanks to...
View ArticleDNS Filter
Our DNS server was being used as an attack vector against primarily Chinese servers. DNS by preference uses UDP packets instead of TCP packets. The UDP protocol is much faster than TCP, but unlike TCP...
View ArticleChanging The Shape of your Form and Showing Transparent animation on the Desktop
This is a simple Form transparency demo. It simply demonstrates how you can make your Form any shape you want and show pictures and animation on the desktop in the shape of your Form. It basically...
View ArticleDNS Filter Service
This is the Service Version of the Filter program previously posted. The Service version of DNS Filter not only requires the WinpkFilter from NT Kernel Resources (free for personal use) but also the NT...
View ArticleAlphablending - A Simple Demo
This small demo shows you how you can alpha blend one picture onto another. In this demo only part of the target picture is alpha blended. Attached Files Alphablending.zip (233.4 KB)
View ArticleSlot Machine
This is a simple demo of a slot machine. It has three spinners that simulate a slot machine when the handle is pulled down (this uses a button instead of a handle). Attached Files Slot Machine.zip...
View ArticleDesktop Digital Clock
This small digital clock can be moved anywhere on the desktop. It is transparent, only the digits show. Attached Files Desktop Digital Clock.zip (9.2 KB)
View ArticleSimple way to Export FlexGrid to Excel
I see many people asking how to export a VB6 MSFlexgrid to an Excel workbook....this short code with a couple of simple For-Loops is an easy way to do it (Make sure you have a REFERENCE to MS Excel in...
View ArticleExcel Writer
Project to create an ActiveX DLL which is capable of writing Excel 2007 xlsx files directly. No need for Excel to be installed. An xlsx is just a ZIP archive with all kind of XML files and bunch of...
View ArticleColor Management (ICC Profile) support in VB6: guide and sample project
Download the sample project (250kb, including sample images) VB6_ColorManagement.zip What does the sample project include? Color_Management (module). This contains all the necessary code for adding...
View Article[VB6] Lock ListView Columns
This code prevents the specified column(s) of a ListView control from being resized by the user. It does that by subclassing the ListView control and watching for the HDN_BEGINTRACK and...
View ArticleVB 6 Input Date format
Hi I have a Date textfield, that describes to the user the format of the date (YYYY/MM) then I would use that date on my WHERE clause to update database. my Date in the database is also in the same...
View ArticleKeeping VScroll Always At Bottom
This simple example shows how you can keep the Vertical Scroll bar always at bottom Attached Files VScroll Always At Bottom.zip (1.6 KB)
View ArticleHmac
According to Wikipedia and verified with online HMAC routines, HMAC_SHA1("key", "The quick brown fox jumps over the lazy dog") should produce an HMAC of: DE 7C 9B 85 B8 B7 8A A6 BC 8A 7A 36 F7 0A 90 70...
View ArticleFade Picture in Picturebox from One Picture to Another
'Need 2 pictureboxes (Picture1 & Picture2) 'Set both pictureboxes AutoRedraw to True 'Set both pictureboxes ScaleMode to vbPixels 'Paste the following code in the Decs Private Const AC_SRC_OVER =...
View ArticleVB Export Project
Hi I have a code below to export data from sql server db "Hpacc4" to Excel. my code just error at: rsHPData.MoveFirst, with error "Either BOF or EOF is True, or the current record has been deleted"...
View ArticleVB6 Date Validation
Hi I'm using maskEdBox to accept date from the user in this format yyyymmdd, Now I want to validate this date to be a valid date, (i.e the user might input 1234/12/12), and also the date shouldn't be...
View Articleconvert numbers to words (SPANISH)
Here is a function to convert an integer to Spanish words. Maybe it will be of some use to somebody. There is probably a much more elegant way to do this but this worked for me and is correct as far as...
View ArticleCommand() - Unicode aware
Usually when you want to get the argument portion of the command line you use the intrinsic Command$() function. But that function is not supporting unicode. In order to supply your .exe with a unicode...
View Article[VB6] SNTPClient UserControl
This is a basic Simple Network Time protocol (SNTP) client UserControl based on a Winsock control that can be used to retrieve time from NIST Internet Time Servers or local NTP servers on your LAN. It...
View Article