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

VB6 - Sort Routine

Shown here is a sort routine that utilizes the built in Command Line sort function. Outside of this routine, a file is loaded into a Textbox and the file name is saved in "m_Filename". The user is...

View Article


Image may be NSFW.
Clik here to view.

PNG/TGA (specifically 32-bpp type files) Editing Tool

Note, this project uses mscomctl.ocx version 2.2. If you have an older version, the project may not load correctly for you. To fix this problem, you will need to update your mscomctl.ocx. Here's a link...

View Article


Standard API Color Picker

It's strange that this doesn't have more of a presence on these forums than it does, but hey ho. Attached is the my ChooseColorAPI wrapper that I've just polished up. Here are its features: It just...

View Article

Image may be NSFW.
Clik here to view.

[VB6] BatchRtb 2

Since I am almost 100% retired now and doing a lot less VB6 programming I have been looking for things in my toolkit that might be worth sharing with the remaining VB6 community. I have done a big...

View Article

Image may be NSFW.
Clik here to view.

VB6 - Multiline Textbox Printer

I had previously used a RichTextBox and the SelPrint routine, but I discovered that routine would not work with an InkEdit Control. With the help of jpbro, we put together a routine for the InkEdit...

View Article


Image may be NSFW.
Clik here to view.

VB6 - Text Editor

I found a need for addtional functions that NotePad did not provide, so I came up with my own Text Editor. It has most of the functions of NotePad with a couple of extra ones. Code: File...

View Article

Image may be NSFW.
Clik here to view.

Scintilla Source Code editor OCX for VB

I noticed the board didn't have much on the Scintilla source code editor so wanted to make sure a copy of this got saved. Scintilla is a source code editor component that includes source code...

View Article

Image may be NSFW.
Clik here to view.

Hexeditor OCX control

A hexeditor/viewer is another commonly needed component. Here is one I have been using for a number of years now. The core of this one was taken from a standalone hexeditor written by Rang3r and...

View Article


Image may be NSFW.
Clik here to view.

[VB6] - PE parsing library

This is a set of classes for parsing PE files. Exposes most commonly needed fields such as optional header, imports, exports, relocations, resources, sections, etc. Includes a couple extras such as a...

View Article


Image may be NSFW.
Clik here to view.

VB6 - Hash10

Now this one makes a lot of sense. I accidentally ran across it while searching for something else. https://docs.microsoft.com/en-us/win...ypt-bcrypthash BCryptHash performs a single hash computation....

View Article

Image may be NSFW.
Clik here to view.

CheckBoxCombo 1.3 (A professional, effective and ready-to-use Multi-select...

What is CheckBoxCombo? CheckBoxCombo is a general-purpose Multi-select ComboBox User Control designed for Visual Basic. It differs from the conventional ComboBox behavior by allowing user to select one...

View Article

Image may be NSFW.
Clik here to view.

Add-In to Replace Fonts

Here's a little Add-In I wrote, primarily for replacing all the MS Sans Serif fonts in large projects I've got, and I thought I'd share. It does allow you to replace any screen-available font with any...

View Article

Detect DLL support

I found an API call that simplifies the Hash process by combining several steps into one: http://www.vbforums.com/showthread.p...017-VB6-Hash10 It only works with Win 10, and I was curious if there was...

View Article


Image may be NSFW.
Clik here to view.

VB6 Simple Virtual ComboBox (OwnerDrawn)

As the title says, a simple approach to accomplish ownerdrawing from Data in external Data-Containers in a "DropDown-scenario". As usual with virtual (bound) Controls, they are internally lightweight,...

View Article

(VB6) Err.Raise using HRESULT_FROM_WIN32 and vbObjectError

Convert Win32 error using vbObjectError and HRESULT_FROM_WIN32 HRESULT_FROM_WIN32 is the name of a macro used in C to convert a WIN32 error into an HRESULT error (although since XP it has been replaced...

View Article


Image may be NSFW.
Clik here to view.

Google Cloud Natural Language Text-To-Speech

PLEASE SEE THE INCLUDED READ ME FILE FOR COMPLETE INSTRUCTIONS BEFORE RUNNING THE PROJECT Here is a project I did that shows you how to use the power of Google Cloud for next level natural sounding...

View Article

Getting the selected text in the code window (with an add-in)

I have lots of Doc IDs as comments in my vb project eg Code: 'see doc#25 for more info And i wanted to be able to quickly show the document. This code below will show you the selected text and then you...

View Article


Image may be NSFW.
Clik here to view.

VB6 - Transit Time Tester V2

Attached is an upgraded version of Transit Time Tester utilizing a subset of SimpleSock. Users sometimes want to know how accessible a certain site is and how long it takes to get to it. The "ping"...

View Article

Image may be NSFW.
Clik here to view.

[VB6] Multithreaded Connect 4 AI

This AI uses The trick's multi threading module to search the game tree using the negamax algorithm. My multi threading implementation is not very efficient, as it creates one thread per column,...

View Article

Image may be NSFW.
Clik here to view.

Friend in Class1-VB6 calls multiple methods to run speed test

Optimized for vb6 running speed call function Fastest c=Bas_Sum(a,b) call Friend is quick than "public function",The operating speed is 4.6 times faster ----------- Class_OBJ 452.38 (dim a as class1...

View Article
Browsing all 1476 articles
Browse latest View live


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