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

Image may be NSFW.
Clik here to view.

Weaving Pattern Generator

Create patterns for weaving bands on an inkle loom. Sorry no instructions. I'm sure there are lots of improvements that can be made, but it works for what I need. Attached Images   Attached Files Weave...

View Article


Image may be NSFW.
Clik here to view.

Some controls

Hi while looking though an old hard drive of mine I came accross some old visual basic 6 controls I made anyway take a look at the screen shots I put them into one zip for you with a demo for each...

View Article


Image may be NSFW.
Clik here to view.

Doom Wad View

Hi this is an old project I never finished in VB6 it allows you to view the image and Wav resources and also extract the image I found this on an old hard drive I made years back it is tested on...

View Article

Web colours for vb6

hi here is a class that allows you to use web colors in your apps easy to use just plug into your project and your good to go hope you like it. class code Code: VERSION 1.0 CLASS BEGIN   MultiUse = -1...

View Article

Subclassing For MouseWheel

This all dovetails in with my work done here. However, this post is complete. I mention my other "general" subclassing post as I tend to keep all my subclassing in one module, and the work here is...

View Article


Image may be NSFW.
Clik here to view.

Using Windows File API

Attached is my attempt to use File API to read and write binary files. Like the VB6 FreeFile command, it uses GetFNum to find the first available file structure defined as an array of: Code: Private...

View Article

String Array Sorting - FAST!

Ok, the results are in. The following is about as fast as pure VB6 code is going to get a string array sorted. I had already worked out swapping of BSTR pointers so the BSTR strings didn't need to be...

View Article

[VB6; VBA/twinBASIC 32bit/64bit] Code snippet: Get outside IP without 3rd...

It's useful to not have to rely on some 3rd party website to determine your outside IP, as all examples I could find do-- since the most common site used by those examples is now dead, to show what...

View Article


Image may be NSFW.
Clik here to view.

Tiling Textures for scrape books or mini books

If you do scrap booking or making mini books then this program may be useful to you . Nothing really new here codewise. Attached Images   Attached Files Tiler.zip (1.29 MB)

View Article


Image may be NSFW.
Clik here to view.

IDE AddIn to have a frame around the current line

After searching for Addins for the vb 6 ide and analyzing them, I finally wrote one myself: It highlights the current line in the IDE with a frame. Color can be changed inTools -> Frame around...

View Article

VB6 gets the CPU utilization of the specified process.

Dim C As Currency C = CPUUSage(GetPidByHwnd(Me.hWnd)) MSGBOX C & "%" Code: Function GetPidByHwnd(hWnd As Long, Optional lThread As Long)     lThread = GetWindowThreadProcessId(hWnd, GetPidByHwnd)...

View Article

VB6 GET ALL Printers name and Do Menu Click

Shell.Application, just like a folder, can list all the subitems and submenus, and then you can click on them. It's very fun. I wonder if anyone is studying the development under LINUX, such as...

View Article

Image may be NSFW.
Clik here to view.

Simple Color Bar usercontrol

Just messing around and came up with this colorbar. Straight forward code, no rocket science here. Hope someone finds it useful. Attached Images   Attached Files colorBar.zip (12.2 KB)

View Article


Image may be NSFW.
Clik here to view.

Animation demonstration drawing a rectangle with gradient filling by vb6

from here?https://blog.csdn.net/weixin_3210910...ails/117191984 This may be the original link that I can't open to view. http://vbcity.com/forums/t/73200.aspx Code:   Dim r As RECT     r.Left = 10...

View Article

Image may be NSFW.
Clik here to view.

Get a computer hardware ID

This code is for identifying a computer. It returns a number corresponding to that Motherboard/Processor/NetworkAdapter And it also returns a number for each disk. The functions are:...

View Article


Image may be NSFW.
Clik here to view.

Step Editor For Band Weaving

Use to design the steps needed for weaving bands on an inkle loom. I've tried to get all the bugs out, so I hope you like and can use it. Any comments welcome.PatDes.zip Attached Images   Attached...

View Article

Image may be NSFW.
Clik here to view.

VB6 - Customizable Balloon Tooltips for all controls (supports Unicode)

This is another spin on "Customizable Balloon Tooltips" for your controls (mainly inspired from Elroy's example in this thread). All relevant code for the tooltips is encapsulated in the "cTT" class...

View Article


Image may be NSFW.
Clik here to view.

News Banner usercontrol

I was watching NewsMax and their news banner caught my eye. So I decided to make my own. It's fairly simple. It was fun to be programming if nothing else. Have fun. Attached Images   Attached Files...

View Article

zoom set vb6 menu font size

Private Sub Form_Load() Call CreateMenus(Me.hWnd, 50) OldWindowProc = SetWindowLong(Me.hWnd, GWL_WNDPROC, AddressOf NewWindowProc) End Sub Private Sub Form_Unload(Cancel As Integer) Call OnDestroy End...

View Article

Image may be NSFW.
Clik here to view.

DirectX7 DX7 for VB6 Game Engine Enhanced Edition

A piece of code found on the Internet can be changed to DX8 and DX12 if you are interested, and a simplest game interface can be realized as a learning reference for learning VB6 game development and...

View Article
Browsing all 1483 articles
Browse latest View live


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