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

Image may be NSFW.
Clik here to view.

[VB6] Use IFileOperation to replace SHFileOperation for modern Copy/Move...

cFileOperation 0.1 Display the latest version of the copy/move/delete progress dialog and the related prompts. SHFileOperation has been superseded by IFileOperation on Windows Vista and above. At least...

View Article


Image may be NSFW.
Clik here to view.

VB6 - Chat Client/Server

This is a 2 part program consisting of a server component and a client component. Because the server component services more than one client, the server must use a Socket Array, which requires an...

View Article


Image may be NSFW.
Clik here to view.

Unicode Textbox

Here's my version of a Unicode & RTF textbox. It's about as full featured as you can get while using the RichTx32.ocx control. Full Unicode and RTF editing while in the IDE design mode. Just...

View Article

Image may be NSFW.
Clik here to view.

Reading and Writing UTF-16 and UTF-8 Files

Ok, here's my procrastination for the day. I've long been able to read Unicode (UTF-16) files, but I decided I also wanted to read and write UTF-8 files, so I did it. The attached "test" project is the...

View Article

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 (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
Browsing all 1448 articles
Browse latest View live


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