[VB6] MapStitcher.cls - Create imagemaps from images
Sometimes it can be handy to make use of the PictureClip control or similar approaches to grab and use small images "cut out" from a larger image set up in a grid layout. But usually we have separate...
View ArticleUsing a VB6 Collection in C++
This is vb6 specific so I am guessing this is probably the best place for it. Sometimes you need to do a task in C/C++ and call it from VB6. Maybe its a library only available in C or you found some...
View ArticleUsing VB6 Collections, Variants, & Byte Arrays in C++
This is vb6 specific so I am guessing this is probably the best place for it. Sometimes you need to do a task in C/C++ and call it from VB6. Maybe its a library only available in C or you found some...
View ArticleChaCha streaming cipher
this is a C chacha library as a vb compatible dll also an example on working with SafeArrays between C and VB symmetric so you just call it again to decrypt. I compiled with vs2008, release size 42k...
View ArticleVB6 - Unnamed Encryption Routine
Working with CNG (Cryptography Next Generation) can sometimes be a little frustrating, and often times MS is slow to add support for newer algorithms. So I came up with my own streaming Encryption...
View ArticleTar, tar.gz, tar.bz2 - Create/Extract
Wrapper for Yoshioka Tsuneo's open source C tar32.dll http://openlab.ring.gr.jp/tsuneo/tar32/index-e.html Code: TAR32.DLL is a compression and archive library. This library can...
View ArticleClosing File Select Dialog
closing a dialog window called from a process can have problems as the code will stop running while the dialog is open a simple solution is a second exe file to find and close the dialog compile this...
View ArticleIncrease Stack Size in a Vb6 exe
I want to share my method to increase stack suze for VB6. (I need that for M2000 Interpreter, so now I can calll 14500 times the same function...in m2000 (so more in vb6 inside)) I made a bat file, and...
View ArticleCommand button validation before emailing and disabling command button once...
I am not entirely sure that I am even posting this in the correct place. I am very new to VBA, so forgive my ignorance. I am creating forms for employees to submit because they can't be trusted to just...
View Article[VB6] Code Snippet: View shortcut path w/variables unexpanded:...
Shortcuts are actually far more complex than most people realize even after dealing with the IShellLink interface. The really technical bits are hidden behind a whole other interface:...
View Article[VB6] Code Snippet: Make your shortcuts request elevation with...
This is related to my other recent post on this interface, [VB6] Code Snippet: View shortcut path w/variables unexpanded: IShellLinkDataList. Making shortcuts to your program for Run As Administrator...
View Article[VB6][vbRichClient] Slither-like Game
Hi, on free time just for fun I wrote this Slither-Like Game Enjoy! I don't know how to play Multiple sounds at same time. (I mean to play even same sound with a slight delay) I found a Module:...
View ArticleGetting OS, Ram, CPU information
Over the years I have used many methods for getting the above information. None have been entirely satisfactory or involved long code. Recently I came across the WMI classes that are part of all...
View Article[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 ArticleVB6: Windows 10 Known Folders / SHGetKnownFolderPath
In Windows XP, the recommended practice to find special folders was to call SHGetFolderPath(), but this was deprecated starting in Windows Vista. From Vista on, we're supposed to use...
View ArticleVB6 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[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[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[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 ArticleWindowless 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