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

Image may be NSFW.
Clik here to view.

VB6 - Activating Hyperlinks using InkEdit

I found code that activated Hyperlinks with VB6 and a RichTextBox. If was far more complex than I wanted because it used subclassing. So I converted it to use an InkEdit box without subclassing. The...

View Article


Image may be NSFW.
Clik here to view.

[vb6] Resource Image Viewer/Extraction

A tool I developed to help with another project I'm working on. The tool worked well and decided to pretty it up and share it. This is similar to your typical resource-hacker, but limited in scope to...

View Article


Image may be NSFW.
Clik here to view.

VB6 - Sample Tray Activation

Attached is a sample program that uses a Tray Icon to activate a program. It uses dilettante's "NotifyIcon" program. http://www.vbforums.com/showthread.p...ght=notifyicon I have left his explanations...

View Article

Image may be NSFW.
Clik here to view.

[VB6] Registry Hives Enumerator

This is very specific, but maybe will be useful for some registry guy :) In short: if you need to build a ton of nested loops for: just say, you have a task to enumerate: 1) several keys 2) in the same...

View Article

Image may be NSFW.
Clik here to view.

VB6 - Very simple CoreAudio Demo (vbRichClient5)

Olaf wrote a wonderful VB6 RC5-CoreAudio-Demo, which is very beautiful and full-featured. I simplified it into a very simple Demo for beginners to learn. Attached Images   Attached Files...

View Article


Image may be NSFW.
Clik here to view.

[VB6] Detect if process is hung

It's a console application based on IsHungAppWindow API. Syntax: FreezeDetector.exe [opt_Filters] Filters: "IMAGENAME eq [Process name]" "PID eq [Process ID]" Note: All filters should be quoted...

View Article

Image may be NSFW.
Clik here to view.

XML Parser (written entirely on VB6)

Originally written by: Jason Thorn (Fork by Alex Dragokas) There are 2 projects: 1) GUI (activeX dll based) compile vbXml-browser\Browser\Browser.vbg Required: MSCOMCTL.OCX 2) Simple app (debug. window...

View Article

Send email using Gmail

Hello I tested tons of codes trying to send an email via Gmail but all of them are not working. I think that Google security policy became more stringent on this side. Is there a working code, please?...

View Article


Code for working with Unsigned Shorts

In VB6, the Integer data type is equivalent to a Short (signed short) in C. Now when you encounter a UShort (unsigned short) in a file or in a structure returned from a DLL call, what do you do? You...

View Article


Image may be NSFW.
Clik here to view.

VB6 - Simple Hash Program

Attached is a program to calculate the various hash values for a string or a binary file. This can be useful if you are downloading an executable file (.exe/.dll etc) and the author has provided a hash...

View Article

Code for speed testing memory copy

Here's my code for testing the speed of various memory copy functions. The value printed by the print function after each 100 iterations of the function being tested is the average time (in...

View Article

Image may be NSFW.
Clik here to view.

VB6 - User SID/Path

I needed a value that was unique to the current logged in user, so what is more unique than the User SID (User Security ID). Using the attached code, I found the SID: Buffer: 70 70 27 00 00 00 00 00 01...

View Article

Image may be NSFW.
Clik here to view.

[VB6] BTEnum - Enumerate Bluetooth devices

This uses the Microsoft Bluetooth APIs to get a list of remembered and in-range visible Bluetooth devices. Requires Windows XP SP 2 or later, and a Bluetooth adapter/radio supporting the Microsoft...

View Article


Image may be NSFW.
Clik here to view.

Linear Algebra for 3D Space

I'm not sure who will actually benefit from these procedures, but I suspect a few people will occasionally find them through Google. I've just got quite a bit of work into them, and wanted to share....

View Article

Migrating RichTextBox (RTB) Control to InkEdit Control

The purpose of this thread will be to describe the process of moving existing RTB code to use the InkEdit control. MSDN states this about the InkEdit control here, so the chances of a successful...

View Article


Image may be NSFW.
Clik here to view.

[VB6] Class to show a standard Explorer-style progress window

cProgressWindow Windows provides a simple interface that allows you to use an asychronous Explorer-style progress dialog with just a few lines of code. So I thought I'd wrap up this functionality in a...

View Article

Image may be NSFW.
Clik here to view.

VB6 Icon Maker

I was having difficulty finding appropriate Icons that could be added to VB6 programs, and using online Icon tools was a real pain. So I found an older Bmp2Icon program code, but it was overly complex,...

View Article


Memory Blt

In order to copy graphics, you typically use BitBlt which works on DCs containing Bitmap objects. But the problem with that is that you have to keep track of all your DCs and Bitmaps (and dispose of...

View Article

Image may be NSFW.
Clik here to view.

LaVolpe's c32bppDIB - Filling A, R, G and B channel each with different image...

Hello! In Photoshop, I can paste an image into each channel which looks like this: It's not easy to see in this screenshot, but each channels holds a different image. The end results is a "packed" 3D...

View Article

Image may be NSFW.
Clik here to view.

[vb6]Common Dialog Class (Yet Another One)

This class combines the Windows XP/Win2000 Open/Save dialog that uses APIs to generate the dialog with the IFileDialog interface used in Vista and higher. Basically, the class is a unicode-friendly...

View Article
Browsing all 1472 articles
Browse latest View live


Latest Images

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