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

Image may be NSFW.
Clik here to view.

VB6 - DNS Monitor

DNS Monitor is a utility program that allows you to monitor and log DNS requests transiting your network. This program has been around for some time and is by far the most popular download on my Web...

View Article


Image may be NSFW.
Clik here to view.

Radio Buttons as list of buttons and more

I make some additions and a bit of changes that not change the programming schema, but now works fine the trasparency of the control (backstyle=1) (is a copy of the form picture). Also I put a special...

View Article


Image may be NSFW.
Clik here to view.

Textbox validation for integers and float/scientific numbers

This is a replay to this thread http://www.vbforums.com/showthread.p...ttons-and-more Not only we can valid the numbers but this can be done if someone try to select a part of the text and deleted or...

View Article

Image may be NSFW.
Clik here to view.

Unicode OptionButton

Here's a Unicode Option Button. Just see small sample project. It should be self-explanatory. One weakness: You can't paste the caption with pure unicode (without an RTF format being in the clipboard)....

View Article

Image may be NSFW.
Clik here to view.

Zoom Dialog

This is a part of file selectors, and here I made a class to be used more easily. In example is a dialog that can be zoomed, without using any window style. So we can draw anything. The window to zoom...

View Article


Keep open CreateObject("ADODB.Connection")

I am working now changing the old DAO to ADO in my M2000 environment. I see some reduce in speed and I found why...All of my commands use the old DBEngine and workspaces...and so I was to change that...

View Article

Image may be NSFW.
Clik here to view.

Zcreenshot (translucent selection-box seamless screenshot application)

Thought I'd share this awesome little open-source app with tons of useful code examples with VBForums. I've won 2 awards for code of the month over at PlanetSourceCode, and this was one of them. Fully...

View Article

Image may be NSFW.
Clik here to view.

OptionButtonEx (grouping without frames, Unicode at runtime, & lightweight)

Here's what I'm calling OptionButtonEx. It has two features that the regular OptionButton doesn't have: 1) There's a GroupNum property that allows grouping of sets of them without the need for creating...

View Article


Image may be NSFW.
Clik here to view.

[VB6] MS Office (MODI) OCR - OCR "for free"

This may already have been posted, but a search turned nothing up here in the CodeBank. If you have an appropriate version of Microsoft Office you can use MODI to do OCR on images. The obvious...

View Article


Image may be NSFW.
Clik here to view.

[VB6] Code Tip: Toggle Button with Image and Text (Vista+, ComCtl6)

NOTE: I will make a sample project, but since I had deleted this content and there was a 'please delete me' filler I wanted to repost as soon as possible. What happened was, I tried the code I posted,...

View Article

Image may be NSFW.
Clik here to view.

How to make a new Ctrl-Break key.

My new Win 8.1 system keyboard doesn't have a Ctrl-Break key, and I found that extremely annoying when working with Visual Basic. So with some research, I located some info on how to disable the Caps...

View Article

Image may be NSFW.
Clik here to view.

VB6 Dual-Pivot-QuickSort

Just to throw something new (for VB6) into the ring of competing Sort-Algos... I've just finished porting (from Java-SourceCode) the relative new (Sep. 2009) Dual-Pivot-Algorithm, invented by Vladimir...

View Article

Fix for SSTab not correctly handling focus and comboboxes

Make a Class module out of the following code, create an object with it for any form that uses the SSTab control and follow directions in comments. Code: ' '...

View Article


Image may be NSFW.
Clik here to view.

Simple Bingo Engine

Hey guys, I made this Bingo Engine, in case any of you guys need ideas on how to make one or need one, there you go. I have also included a small demo project. Attached Files BingoEngine.zip (3.2 KB)

View Article

Image may be NSFW.
Clik here to view.

Random number generator

Here is a small program that demonstrate a random number generator. There are two buttons and a listbox. We can see the frequencies of each of 100 numbers (from 0 to 99). We produce 2000000 random...

View Article


Image may be NSFW.
Clik here to view.

[VB6] Call Functions By Pointer

I was recently made aware that a function I've used from time to time for calling virtual functions of COM objects was perfectly adept at calling functions from just about any standard DLL out there....

View Article

Image may be NSFW.
Clik here to view.

[VB6] Lickety - an alternative to Slurp'n'Split

We're in a time of PCs with vast amounts of RAM and little going on in the background, despite money being spent on multi-core CPUs. What was once considered a crude and naive practice of slurping...

View Article


Image may be NSFW.
Clik here to view.

[VB6] Call Functions By Pointer (Universall DLL Calls)

I was recently made aware that a function I've used from time to time for calling virtual functions of COM objects was perfectly adept at calling functions from just about any standard DLL out there....

View Article

Image may be NSFW.
Clik here to view.

[VB6] Clipboard/DataObject Extension Class

The attached class extends VB's Clipboard and Data objects. Change its extension from .txt to .cls after downloading. 1) Support for dragging and pasting virtual files. Virtual files exist in Windows...

View Article

mistaken post

please save my sorry dumb butt from this and allow us to delete our own threads

View Article
Browsing all 1489 articles
Browse latest View live


Latest Images