Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Browsing all 1480 articles
Browse latest View live
↧

Multi 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


Image may be NSFW.
Clik here to view.

[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 Article


ReOrder List of Folder

The following code will list the subfolder in the order it was created. --------------- Dim FS As New FileSystemObject Dim FSfolder As Folder Dim subfolder As Folder Set FSfolder =...

View Article

Image may be NSFW.
Clik here to view.

Statistics 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 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


Image may be NSFW.
Clik here to view.

[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

Image may be NSFW.
Clik here to view.

[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

Image may be NSFW.
Clik here to view.

[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


Image may be NSFW.
Clik here to view.

[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 Article


Multi-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 Article

Image may be NSFW.
Clik here to view.

vbRichClient5 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

Image may be NSFW.
Clik here to view.

[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

Image may be NSFW.
Clik here to view.

Unicode aware VB6 functions replacement

Hi, here is W replacement for several native VB6 functions / properties: - Dir -> DirW() - MkDir -> MkDirW() - Environ -> EnvironW() - App.Path -> AppPathW() - App.ExeName ->...

View Article


Here's a better way to generate random nums than using Rnd

Using Rnd always gives you the same set of numbers, whenever you start the program. Even if you use Randomize first to set a random number seed at the start of the program, it will eventually cycle...

View Article

Where's all of the MSDN docmentation for GDI+

I want to use GDI+ in VB6, and I just looked here https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx hoping to see a complete reference for GDI+ functions. However they only have links to...

View Article


[VB6] Convert CSV to Excel Using ADO

A piece of code I thought might be useful to some. Caveat first... Won't be the ideal solution for everyone. Having Microsoft Excel on the computer is not a requirement. Including an ADO reference is....

View Article

Image may be NSFW.
Clik here to view.

[VB6] VB6.tlb - Passing a ParamArray without Copying

As with all things VB6, these methods get perfected and streamlined over time. The typelib included in this project is the only typelib I use in every VB6 project, and addresses the most common issues...

View Article


Possible fix to the improved random generator technique I previously described

In this thread http://www.vbforums.com/showthread.p...than-using-Rnd I mentioned gave a description of how to use CryptGenRandom to generate completely secure random numbers. However one person there...

View Article

Image may be NSFW.
Clik here to view.

[VB6] FIRENZE LABEL - label control with so many functions

FIRENZE LABEL version 1.1.1 last actualization: 26.3.2017 Created by Martin Vartiak, powered by Cairo Graphics and vbRichClient-Framework. LICENSE: http://creativecommons.org/licenses/...1.0/fi/deed.en...

View Article

Image may be NSFW.
Clik here to view.

FontAwesome-SVG-Resources (per vbRichClient5)

Posted, due to a request in this related thread here (the nice Firenze-Label-Project by porkynet): http://www.vbforums.com/showthread.p...many-functions Those who are doing some Web-Development...

View Article
Browsing all 1480 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>