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

[VB6] Code Snippet: Load Language Specific resource String. FindResourceEx

This came up in another thread. A lot of declarations out there for FindResourceEx for VB6 aren't too accurate, probably a relic of people still using APIViewer or the like. FindStringResourceEx() was...

View Article


Image may be NSFW.
Clik here to view.

VB6: Windows 10 Known Folders / SHGetKnownFolderPath

Download the bas module here: basKnownFolders.bas In Windows XP, the recommended practice to find special folders was to call SHGetFolderPath(), but this was deprecated starting in Windows Vista. From...

View Article


Image may be NSFW.
Clik here to view.

VB6 RC5-CoreAudio-Demo

Here a small CoreAudio-Example, based on the appropriate abstraction-Classes of the RichClient. (as mentioned and requested in this thread): http://www.vbforums.com/showthread.p...ther-like-Game...

View Article

Image may be NSFW.
Clik here to view.

[VB6, Vista+] Core Audio Basics

Core Audio Demos A few days ago I released the latest version of my oleexp typelib containing all of the Core Audio interfaces. Here's a demo of some of the basic features. All of the functions shown...

View Article

Image may be NSFW.
Clik here to view.

[VB6] Loader, shellcode, without runtime...

Hello everyone! Today i want to show you the quite interesting things. One day i was investigating the PE (portable executable) file format especially EXE. I decided to create a simple loader of the...

View Article


Image may be NSFW.
Clik here to view.

[VB6] TrickSound - class for working with audio.

Hi everyone! I've created the new version of my clsTrickSound class that i used in the vocoder project. This class provides the simple interface to playback and capture sound. It doesn't require any...

View Article

Image may be NSFW.
Clik here to view.

Windowless Buttons

Typically, buttons (or any other control for that matter) in VB6 are windows, who's window function is designed to handle clicks. Each window has its own handle called an hWnd. However, this has some...

View Article

Image may be NSFW.
Clik here to view.

[VB6] Palettize - A VB6 Class for converting StdPicture to 8-bit StdPicture

The main reason you might want this is for creating an 8-bit color or grayscale StdPicture from a StdPicture created by loading an image file. An 8-bit color StdPicture may save "smaller" as a BMP file...

View Article


[VB6] Full Screen a Form

This class was converted from the Chromium project. CFullScreenHandler.cls Code: ' Chromium full_screen_handler.h/.cc converted to VB6 ' CFullScreenHandler.cls...

View Article


Image may be NSFW.
Clik here to view.

VB Multithread Library (Generic Multithreader)

This is a Ax-DLL (VBMThread10.DLL) for generic multithreading in VB6. I know that there are plenty of libraries out there providing exactly this. However, I want to share this approach and want to...

View Article

Image may be NSFW.
Clik here to view.

[DSWC+RC5] PicSnap WebCam+Cairo Overlay Demo/Experiment

First, let me say that the heavy lifting in this demo has been done by the hard work of Dilettante (DSWC) and Olaf Schmidt (vbRichClient5). I've decided to experiment a bit with Olaf's RC5 widget and...

View Article

Fix for tabstops in the SSTab control

IMHO, the SSTab control is a very solid control, and I get much use out of it. However, it does have one annoying bug. When the TAB keyboard key is used, the SSTab control can pass the focus to...

View Article

Move a control from one tab to another at run-time on the SSTab control

It took me a bit to figure this out, and I see a bit of interest in the SSTab control, so I decided to post this. It's a procedure that allows you to change the tab of a control that's on the SSTab...

View Article


Image may be NSFW.
Clik here to view.

VB6 - JACMAIL 2.5 - Email c/w Encryption

JACMail Version 2.5 is very similar to Version 1 on the surface. Under the hood however, there have been substantial changes. JACMail is an Email Client Program designed to allow fast and efficient...

View Article

API based random number generator for VB6

The built-in one in VB6 isn't all that good at creating highly random numbers (at least for cryptographic purposes). The crypto API is much better at this. Below is some sample code that you can put in...

View Article


Refresh Windows of the IDE

This is a piece of code I wrote a while back to solve the annoyance of VB6 not always correctly repainting its various windows when another program's window moves off of them. For years, I've just kept...

View Article

Image may be NSFW.
Clik here to view.

[VB6] Code Snippet: Drag drop any format to other apps without custom...

While I've got a thread going about how to do this the right way and actually implement an IDataObject, in the mean time I thought I'd post a trick that you can use to dragdrop any format without one....

View Article


How to convert StdPicture into pixel array

Here's some code you can put in a module, that will let you convert any StdPicture object into an ordinary byte array that contains the pixel data in 32bit-per-pixel format. In addition to it being...

View Article

Image may be NSFW.
Clik here to view.

General purpose SxS manifest file

Hello All, I've assembled a .manifest file that allows for Side-by-Side, registration-free execution of compiled VB6 programs using any (or all) of the following OCX files:...

View Article

Image may be NSFW.
Clik here to view.

Matrix (Linear) Algebra Program

I was going through some of my stuff and thought maybe others could make use of some of it (and I've got tons). Here's a little matrix (linear) algebra program. It does all the simple stuff as well as...

View Article
Browsing all 1480 articles
Browse latest View live


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