Resizeable VB6 UserForms (and Unicode Form Captions)
This system uses a small amount of code in a form module plus a small class module shared by all of your forms to enable you and the user to be able to move and size any form and have all of the...
View ArticleVB6 - NAT Traversal
A NAT router is an excellent way to protect your computer network from outside hackers. The normal way to allow an outside host to connect with an internal host sitting behind a NAT router is to...
View ArticleCompression in VB6: modern solutions
Compression has always been a cumbersome task in VB. Microsoft provides very weak support in their standard libraries, and while there are good 3rd-party solutions for VB developers, they are either...
View ArticleCustom Scrollbar (vbRichClient)
As requested here http://www.vbforums.com/showthread.p...using-Pictures This is a custom scrollbar class that requires only to be given a reference to a picture box, as illustrated in this demo. The...
View ArticleSend email in a simple VB6 project using a command1 button gmail smtp
i want a project code example using command1 button to submit a email using gmail smtp to submit a email to my destinated gmail email address using a single click
View Article[VB6] ListView / TreeView Extended and Custom Checkboxes
So I've mentioned this and posted snippets in a few threads, but thought it would be good to do a formal sample project on this, especially since I've never seen one done before. By default, the...
View Article[VB6, Vista+] Core Audio - Change the system default audio device
Changing the system-wide default input and output audio devices WARNING: This feature is not designed to be accessible to programs and uses a COM interface that is undocumented and unsupported by...
View ArticleDetermining when two numeric ranges overlap
The code below will report True if 2 ranges (x1-x2 & y1-y2) overlap. You can put the two range parameters in either ascending or descending order. The function will rearrange them to ascending...
View ArticleMulti Bit Manipulation Class
This submission is a class that handles bit manipulation in the following VB data types: Byte, Integer, Long, Single, Double, Currency, Date and One dimensional Long Arrays. (These are VarTypes 2 thru...
View Article[VB6] ColorList - Another example of a custom dropdown list control
ColorList: A "dropdown list box" control for choosing among a list of predefined colors. This is a sort of drop-down list box written in VB6 that accepts a series of color text/value pairs. Users may...
View ArticleStatistics in VB6
Alright, I'm embarking on this endeavor as one of those "spare time" projects. I've long thought that there should be a good VB6 open-source program for doing various statistical analyses, and I've...
View ArticleLinking a File with a Folder so they Copy (or Drag) Together
crud, this was suppose to be in the main VB6 threads. Attn moderators, please delete. I've re-posted over there.
View Article[VB6] Port for use DX9 in VB6.
Port and some examples: https://yadi.sk/d/2L5Yh8Yo39dfnY The source of dx_vb.dll (C++ 2008): https://yadi.sk/d/aggh01cn39dg5S The source of d3dx_sc.dll (C++ 2008): https://yadi.sk/d/Y9FOQIKB39dgWP To...
View Article[VB6] SHFolderDlg class: BrowseForFolder
A VB6 Class with one Method: BrowseForFolder() It raises a Shell dialog for browsing to a folder. You can specify the "browse root" as well as an optional StartPath under that for the dialog to show...
View Article[VB6, Vista+] Core Audio - Monitor for disabled/active, default, and property...
Monitoring audio hardware for changes At first glance, the IMMNotificationClient interface looks like it's simple and straightforward. And in the IDE it is, but it turns out when compiled all normal...
View Article[VB6] ADO Recordset data to custom XML
This demo uses SAX to write an XML document in a custom format. Even though an ADO Recordset.Save method can write XML output to disk, this uses a proprietary serialization schema your program has no...
View Article[VB6] OWM: How lean is my program?
A tool meant to help answer the question "How lean is my program?" OWM runs a specified program and samples its performance until completion. Then the final measurements are displayed, and may...
View ArticleMulti-Monitor Routines (and "Better" routines even for single monitor systems)
Well, I recently helped someone solve the problem of centering a form on a secondary monitor. At that time, I had the necessary routines, but they weren't cleaned up as much as I'd like. And a couple...
View ArticlevbRichClient5 SQLite Database Definition & Creation Helper Classes
This is some older code of mine that I've just updated to work with vbRichClient5 and to support Serialization/Deserialization. It may even have some bug fixes over the last publicly available version...
View Article[VB6] List and view Alternate Data Streams using GetFileInformationByHandleEx
So I was playing around with this last night and thought it would make a good demo, since while it seems like a single API would be straightforward it turns out this is fairly complex. Alternate Data...
View Article