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

Image may be NSFW.
Clik here to view.

[VB/VBA] LunarPhase - Phase of the Moon

When you don't need it, you don't need it. But when you do it can take a little thinking through. The basic concept is fairly easy if you simply need rough, non-astronomical results. Take your target...

View Article


[VB6] - Lottery-Algorithm

On a german Forum I developed the following Lottery-Algorithm (which i haven't found on the Internet in this form). I would like to hear your opinions and/or suggestions to improve it vb Code: Private...

View Article


Image may be NSFW.
Clik here to view.

Caption Gradiator III / VB6 Form Gradient Titlebar

Hello, :wave: Caption Gradiator III is a Basic Module that facilitates a custom gradient color titlebar for Visual Basic forms. The original program came from another VB author's web sight. The code...

View Article

Image may be NSFW.
Clik here to view.

MemoryView

This started as a simple program to show a hex dump of 'safe' memory addresses, i.e. those returned by VarPtr, StrPtr, VarPtrArray, and an undocumented function, StringArrPtr. After playing with it for...

View Article

Image may be NSFW.
Clik here to view.

VB6 - Melas: Line Charting Classes

Why Melas? I needed an alternative to the MSChart control for creating simple line charts in batch mode. MSChart can do the job just fine with some fiddling, however I needed to create these charts and...

View Article


Image may be NSFW.
Clik here to view.

VB6 IDE solving UAC and Visual Style issues

Hello, the VB6 IDE (VB6.exe) has issues when the UAC (Windows Vista and 7) is activated. This may cause that opening .vbp files for example will fail. To solve this it is just required to add a...

View Article

Image may be NSFW.
Clik here to view.

VB6 - SysBitmaps Control: Free Toolbar images, from Windows

Here is a quicky for populating toolbars with standard bitmaps embedded in comctl32.dll. There is still (at least) one bug: if you load some large (24x24) bitmaps and then shift and load some small...

View Article

Image may be NSFW.
Clik here to view.

Translator with Sound/Speech

Here is a little word translation sample i would like people to have.. if you have any questions feel free to ask. you can also download the sounds/speech, ask me how if you need and i will show you...

View Article


Image may be NSFW.
Clik here to view.

VB5/6/VBA - HeapsortVarVar, Another VB Sort

This is a VB6 static (.BAS) module for sorting a Variant array of Variant arrays using the Heapsort algorithm. It could easily be converted to a class (.CLS) if desired as well. It should be usable in...

View Article


Image may be NSFW.
Clik here to view.

VB6 - SillyStream Encrypted Text I/O

While hand-rolled encryption is never a good idea, sometimes you don't need a high-security solution. SillyStream is a text I/O class that you can set a few parameters on and then do low-volme...

View Article

[RESOLVED] [VB6] Coloring Excel Cell from VB6

Hi Guys, Do you have any idea how to set excel cell from VB6 Codes? Set ExlObj = CreateObject("excel.application") ExlObj.ActiveSheet.Cells(1, 1).Columns.ColumnWidth = 18 ExlObj.ActiveSheet.Cells(l,...

View Article

How to Make a Round (Circular) Form

Ever want a round form? This short VB6 code will create it for you. I know it works on XP and Win7. Not tested on Win8. Open a new VB6 project I added two shapes and one label to the form---not...

View Article

Here's How to Make a Form With a HOLE in it.

Want a form that you can move around and see what is behind the center of it? Not sure what good it is, but it's kinda cool. Maybe you can find a good use for it. Noting to add to a project---only the...

View Article


Image may be NSFW.
Clik here to view.

VB6 - MMapper, Memory Mapped File Demo

Background People are often scrounging for easy to use IPC alternatives for Visual Basic programs. Windows offers a ton of choices, but unless you can state your requirements it is difficult for...

View Article

Image may be NSFW.
Clik here to view.

CommonControlsEx (Replacement of the MS common controls)

This project is intended to replace the MS common controls for VB6. As for now, the „MSCOMCT2.OCX“ can be replaced completly. (Except the FlatScrollBar control, because this is not supported on...

View Article


Image may be NSFW.
Clik here to view.

Creating a window by using the API

The attached code (Create Window.zip) demonstrates how to use the CreateWindowEx API function to create a window and controls inside it. Attached Files Create Window.zip‎ (3.8 KB)

View Article

Image may be NSFW.
Clik here to view.

Explore and create desktops

Desktop Explorer demonstrates get a list of active window stations and any desktops attached to them. The program also allows the user to create a new desktop and launch programs on it. Depending on...

View Article


Image may be NSFW.
Clik here to view.

How to create a console application

The attached program demonstrates how to create a console and write to/read from it. Also demonstrated is how to get/set properties such as the window title. When compiled, Visual Basic 5/6...

View Article

Image may be NSFW.
Clik here to view.

Reading the memory of another process

The attached program demonstrates how to read the memory of another process. The user can either launch a new process or specify the process id of a running process. The result is saved in a file....

View Article

Image may be NSFW.
Clik here to view.

Word Wrap

a basic WordWrap program i created or modified from various source codes found on the InterNet . it does not do a 100% percent job on every type of Text entered, so please feel free to help improve...

View Article
Browsing all 1528 articles
Browse latest View live


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