[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 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 ArticleForm Min-Max size and Fixed-size
Ok, people seem to like this one (via "ratings"), so I'll post it here. I'm sure there are others, but this one is mine. Basically, it's two subclassing procedures. The one that sparked interest was...
View ArticleHTA as HTML UI for VB6 code
This is probably more of a stunt than something there is a need for. But it shows one of the ways that VB6 code can be "behind" an HTML/CSS front end. The provided stylesheet basically duplicates the...
View ArticleEnumPorts - Find the system's COM and/or LPT ports
The EnumPorts class will find the COM ports, LPT ports, or both. If a new device arrives or leaves the list of devices gets refreshed. The information you can retrieve is: PortDescription PortName...
View Articlehow can create user control like charachter map for show on form?
hi i want show font icons like webgings font or other fonts and use in label or textbox or ... but my problem is about limited ascii code from 0 to 255 and i can not use from 0x21 to 0xb325 and...
View ArticleVb6 - netmask calculator
Normally a netmask is used to define a network, but I ran into a problem that required the use of a mask. Let me explain. For some time now, I have had a problem with excessive DNS queries...
View ArticleWorks well in VB4 show run time error 53 with VB6
Hi, I'm trying convert an old VB4 program to VB6, and show a running error 53, please see the full code attached. Thanks Function OpenFileInputRead(tFileName$) As Integer OpenFileInputRead = FreeFile...
View ArticleSuperTrim Function for strings
I created the "SuperTrim" function, quoted by Gary Cornell in "Visual Basic 6 from the Ground Up": the function removes excess spaces in a string. Compared to the example found in the book, I have...
View Article