[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 ArticleXML Parser (written entirely on VB6)
Copyrights: 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 sample)...
View ArticleCode 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 ArticleVB6 - 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 ArticleCode 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 ArticleVB6 - 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[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 ArticleLinear 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 ArticleMigrating 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[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 ArticleVB6 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 ArticleMemory 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 ArticleLaVolpe'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[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 ArticleVB6 - Port Tester
The normal way to find your real external IP address is to use your browser to go to a site such as "WhatsMyIP". I needed to do this programatically without the burden of using HTML. What I came up...
View ArticleVB6 - NAT Helper
Attached is an application called ExtIP. The original intent was to simply recover the External IP address used by a NAT router, but it ended up being much more. In order to use this program, your...
View Article(VB6) Replace VB's Circle method with API's
Code: Private Declare Function Arc Lib "gdi32" (ByVal hDc As Long, ByVal nLeftRect As Long, ByVal nTopRect As Long, ByVal nRightRect As Long, ByVal nBottomRect As Long, ByVal nXStartArc As Long, ByVal...
View ArticleVB6 Webbrowser and Java problems
Hi everyone, I see this work here and I like this forum so much. Found so many things that helped me. Now I need your guide to me. I am using ieframe.dll(webbrowser) for vb6 and when I am trying to...
View Article[VB6] Last Seen Feature
Hello Everyone I am new here, I wish this is the correct place to post in.. I am Hasan M. al-Fahl, known as Eng27 in programming, I have been learning VB6 for 4 years, without courses, without...
View Article(VB6) SSTabEx: SSTab replacement. Themed and with new features
This control is a direct replacement of the SSTab control. Some enhancements are: It supports Windows styles or themesThe background color of the tabs can be changed (property TabBackColor)Another...
View Article