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

Image may be NSFW.
Clik here to view.

Module for correctly get the full path processes in all versions of Windows

This is a new user-friendly module for defining full paths to all processes in the system, even for all system processes, in all versions of Windows. It works even without administrator rights, even...

View Article


Determining if a Decimal has Value to specified significant digits.

If you have use for a function that returns the actual decimal portion then you could split this up by removing the part that finds the decimal value itself and put it in a different function. Probably...

View Article


Image may be NSFW.
Clik here to view.

My (improved) Little Token Replacement Engine

I've had this code for a long time and it's worked very well for me. But I wanted a simple way for the token to tell the engine how to "Case" the text. E.g. Proper, Upper, Lower-Case and no change...

View Article

Image may be NSFW.
Clik here to view.

How do replicate "RenderSurfaceWithinCorners" in my matrix calculation?

I would like to include an image perspective warping option in my existing matrix calculation ("DrawTo", stated at the end of this post). A great example using RenderSurfaceWithinCorners is in this...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] Module for correctly get the full path processes in all versions...

This is a new user-friendly module for defining full paths to all processes in the system, even for all system processes, in all versions of Windows. It works even without administrator rights, even...

View Article


Image may be NSFW.
Clik here to view.

[RESOLVED] Copying multiple file types by mask from folder to folder

I decided to write a program that copies only the selected file types from folder to folder. At the same time, you can specify many different file formats. The usual APIs allow you to filter only one...

View Article

[VB6] - 3D rotation as a basis change

I propose a way to change the 3D coordinate basis. The bases are expressed as a triad of perpendicular vectors. Since in my case these vectors are all of length 1 and are perpendicular, this topic it's...

View Article

Collection implementatio

Here is my implementatio of collectio. It is faster and uses less memory. Every operation can be completed in log time in the worst case scenario. I'v been using it for the last 20 years and maybe now...

View Article


Image may be NSFW.
Clik here to view.

How to pin/unpin from QuickAccessFolder the easy way

I was wondering how I could add pinned folder to QuickAccess and did find an easy way but quite poorly documented indeed. That is done is by sending "pintohome" verb command either in ShellExecute API...

View Article


Tiny, confortable and effortless little helper

Sometimes there are events in life then a invalid filename or foldername has sneaked in due to human misspelling or a crash and causing you headache because you just doesn't find the tiny little error....

View Article

Image may be NSFW.
Clik here to view.

xiaoyao Tab Usercontrol Support Container

xiaoyao Tab Usercontrol Support Container Compiled into OCX control, ACTIVEX control only has 40KB Implement a VB6 tab control with minimal code-VBForums...

View Article

Image may be NSFW.
Clik here to view.

VB6 uses Windows' built-in graphic fonts

VB6 uses Windows' built-in graphic fonts When we are making designs or PowerPoint presentations, we often use small patterns as embellishments. In addition to searching online, Windows also comes with...

View Article

Image may be NSFW.
Clik here to view.

How to save an image to a BMP byte array with support for 32-bit BMP images...

I have written a module that allows you to save any images to a byte array, represented as a BMP file, which can then, if desired, be saved to disk. The BMP file is assembled manually, from scratch,...

View Article


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
Browsing all 1448 articles
Browse latest View live


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