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

Declare a Class global to app but not to anything else.

I have a class module that I need to be global to the entire project. The only way to declare it that I know of is in a standard Module. And standard modules don't allow "Friend". I could try having...

View Article


Image may be NSFW.
Clik here to view.

How to change ForeColor of a themed-stylized button on VB6

The regular Command1 button does not have the ForeColor property to change the color of the button in VB6, but it often happens that you want to change the color of the label in this button......

View Article


For Each in Collection Class keeps crapping out.

Please delete this post.

View Article

Image may be NSFW.
Clik here to view.

vb6 XiaoyaoGifMaker.cls ,Gif animation Class,For Quickly Create Gif Moives

Code: Private Sub XiaoyaoGifMakerDemo_Click()   Dim Gif As XiaoyaoGifMaker   Set Gif = New XiaoyaoGifMaker   Gif.StartMakeGif App.Path & "\MakeDemo2.gif"   Gif.AddImg App.Path &...

View Article

Image may be NSFW.
Clik here to view.

Centralized Timer Host Demo

So this one is a little bit different - it's the first code I've written in a long time that I have no use for personally, nor can I really imagine a use for it. That said, it was fun to write and it...

View Article


vb6 GetFileTime,SetFileTime by Windows api

When converting UTC time to Beijing time, an additional 8 hours are required. Code: Sub Test() SetFileTimes App.Path & "\test.txt", "2025-2-1", "2025-2-2 11:11:11", "2025-2-3 12:13:14"   Dim...

View Article

Image may be NSFW.
Clik here to view.

McGuffinpunk Chapter Editor

This is the evolved version of my Tree Editor I posted a year or so ago. I've gotten rid of the all the random tree creation stuff. I thought that would be cool but it constrained me to writing that...

View Article

Image may be NSFW.
Clik here to view.

Reading ZIP and DOCX files and unpacking image files in memory

I wrote a program that scans the contents of ZIP, DOCX, XLSX, and EXE files, reads the entire file structure inside archives and without temporary files, unpacks and displays images in memory. It even...

View Article


Demo Program I did for a radio engineer

I was contacted by a local radio station about developing an application to assist in creating their work scheduling sheets, It seems that Microsoft screwed them all up. The previous versions of media...

View Article


Image may be NSFW.
Clik here to view.

Class for reading ZIP files

Hello everyone I have written a mini-class for reading information about files contained inside a ZIP. My class reads file attributes, date and time of files stored inside a ZIP. It even works in...

View Article

Determine the contents of an object variable?

Is it possible to determine the contents of a variable that was dimensioned to contain an object. For example, the variable oOut in: Dim oOut As frmReportHolder

View Article

Image may be NSFW.
Clik here to view.

VB6 - Show image Metadata (XMP, EXIF, Thumbnail, etc) with WinRT...

This project uses the BitmapDecoder WinRT class to enumerate the metadata properties of an image (such as those properties saved by a professional digital camera). A TypeLib with the required WinRT...

View Article

Image may be NSFW.
Clik here to view.

Image Markup Tools

Want to give users the ability to annotate images with lines, shapes, highlights, and text? This project provides flexible drawing tools and customization options for a variety of use-cases. Screenshot...

View Article


Image may be NSFW.
Clik here to view.

Image Annotation & Markup Tools (RC6/Cairo Based)

Want to give users the ability to annotate images with lines, shapes, highlights, and text? This project provides flexible drawing tools and customization options for a variety of use-cases. Screenshot...

View Article

Image may be NSFW.
Clik here to view.

[VB6, twinBASIC] ucSimplePlayer: Simple video playback control

ucSimplePlayer v1.1.3 This is a simple video player UserControl for VB6, twinBASIC, and VBA, supporting both 32bit and 64bit. It's just a thin wrapper over the IMFPMediaPlayer media player control...

View Article


Image may be NSFW.
Clik here to view.

VB6 - Simple Animated GIF Player (supports transparency) using WinRT /...

This project uses the BitmapDecoder WinRT class to decode a GIF file into its individual frames. These frames can then be rendered into any device context (Form, PictureBox, etc) using vanilla GDI...

View Article

Image may be NSFW.
Clik here to view.

Auto aligning controls

This utility to automatically align controls, the client area is divided into 5 regions cTop, cBottom, cLeft, cRight the rest determines the cClient space. The alignment is done in relation to the...

View Article


Image may be NSFW.
Clik here to view.

cCropper: Simple, "Smart" RC6/Cairo Image Cropping Class

cCropper is a small and fast VB6/RC6 class designed to make image cropping easy, and to allow you to add image cropping to your VB applications (nearly) effortlessly. In addition to being a useful...

View Article

Image may be NSFW.
Clik here to view.

Make Hex File

I found a need to use data samples in Hex format that were created using "C" based programs. The problem I ran into was the fact that they used lower case characters (eg 5a) and VB used upper case...

View Article

Image may be NSFW.
Clik here to view.

VB6 - Simple Picture Converter & Cropper with BitmapDecoder & BitmapEncoder...

This project allows you to convert various picture formats, optionally apply some transforms (Scale, Flip, Rotation, Crop) and save the result as another format. A TypeLib with the required WinRT...

View Article
Browsing all 1480 articles
Browse latest View live


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