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 ArticleSubclassing 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 ArticleUsing 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 ArticleString 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 ArticleTiling 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 ArticleIDE 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 ArticleVB6 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 ArticleVB6 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 ArticleSimple 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 ArticleAnimation demonstration drawing a rectangle with gradient filling by vb6
Code: Dim r As RECT r.Left = 10 r.Top = 10 r.Right = 300 r.Bottom = 550 Call gdiDrawGradient(Me.hdc, r, vbRed, vbBlue, True) Code: Declare Sub Sleep Lib "kernel32" (ByVal...
View ArticleGet 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 ArticleStep 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 ArticleVB6 - 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 ArticleNews 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 Articlezoom 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 ArticleDirectX7 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 ArticleGetFolder
https://www.vbforums.com/showthread....acement-dialog The code in Msg2 needs a reference added. Anyone know what it is? With it will the code there return a folder ? The link in msg 1 has expired but...
View ArticleVBDecompiler?Get the EXE compiled by VB6 of form information
down from pudn Semi VB Decompiler by vbgamer45 Open Source Version: 0.03 Contents What's New? Features Questions? Bugs Contact Credits What's New? Version 0.03 P-Code decoding started and image...
View ArticleDesktop Date Banner
Sits on desktop and shows Date information. I put it in Start Up Folder so it loads when Windows runs Attached Images Attached Files DesktopDate.zip (25.1 KB)
View Article