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

Image may be NSFW.
Clik here to view.

VB6 - Remember App window Position and Size

Attached is a demo of saving and restoring an application position and size. Rather than hijacking Elroy's thread, I decided to create a new one. This code is further simplified from the code that I...

View Article


Image may be NSFW.
Clik here to view.

[VB6] Neural Network

Since a neural network is missing in the codebank here is my version: It's very simple. It initializes with "CREATE" Code:   NN.CREATE Array (2, 2, 1), 0.25, 4 -Where Array indicates the NN topology...

View Article


Image may be NSFW.
Clik here to view.

PNG (specifically 32-bit RGBA type PNG) Editing Tool

Hi All, This was a request and I thought it would be fun. It turned out to be quite the learning experience. Basically, I've developed a tool for editing the Gamma, Brightness, or Contrast of a 32-bit...

View Article

Image may be NSFW.
Clik here to view.

[vb6] GDI+ Image Attributes Intro & Usage

Thought it would be worthwhile sharing some information regarding GDI+ and its Image Attributes object. Specifically, we are going to discuss the color matrix. This is a 5x5 matrix/grid, variable type:...

View Article

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

Fast Call COM object (activex.dll) ,Run Windows API

How to test the method of the COM object (activex.dll) in real time and run the windows api? 【Organizing, testing the project, and uploading examples after completion】 Method 1: Use VBS to create new...

View Article

Vb6 OpenOffice sdk(com.sun.star.ServiceManager)

need install jdk first OpenOffice_sdk http://www.openoffice.org/api/basic/...l/tutorial.pdf JDK1.8 32bit jdk https://www.7down.com/soft/267473.html OpenOffice4.1.7 https://www.openoffice.org/download/...

View Article

Image may be NSFW.
Clik here to view.

vb Fast Crc32 (crc32str,Crc32File)

Running speed test record: average time,Evaluation object ==================== use CbsPersist_20200521111942.log(161m),not 7z format time(ms) TestObject 125.76 Crc32_Wqweto 281.03 Crc32ByAsm 326.17...

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

Image may be NSFW.
Clik here to view.

Alt+NumPad input for Unicode TextBox with surrogate pair support

When using Alt+NumPad for Unicode input I get a bogus character in Notepad/Notepad++ and all other Unicode TextBox implementations that I tried. WordPad and InkEdit, on the other hand. works OK,...

View Article


Vmware Sdk For vb6(VixCOM64.dll),vbs-CreateObject("VixCOM.VixLib")

Need VMWare VIX Automation Tools and SDK Code: 'Reference 'C:\Windows\SysWOW64\regsvr32.exe ***\VixCOM64.dll 'Reference VixCOM64.dll TO vb6 Project Dim lib As VixCOM.VixLib Dim vmPath As String Private...

View Article

Image may be NSFW.
Clik here to view.

VB6 radial Progress-Control

Just another one of these circular Progress-UCs, which recently seem "all the rage" ... ;) What's different with this one? - it's really small (only about 80 Lines of Code), so no need to put this into...

View Article


Image may be NSFW.
Clik here to view.

[vb6] Virtual Pet Roach v1.2 (Updated 08/06/20)

Since I see the famouse "sheep.exe" I wanted to create something like a virtual pet... finally 2 decades later I found the time to do it. This is a cockroach that roam the screen. It run outside the...

View Article

Image may be NSFW.
Clik here to view.

mBox Reader

Hi this is a mail message box reader I made to read old usenet message box files. if you want any mail box files you can find a load on wayback machine. with this little app it makes it easyer to read...

View Article

Image may be NSFW.
Clik here to view.

Text To Picture

Hi This is a project I made sometime ago, it allows you to encrypt text and save as a bitmap, You can then load the bitmap and with the right encrypt key you used you can decrypt the text. Hope you...

View Article
Browsing all 1509 articles
Browse latest View live