VB6 - Heart Beat
There are many reasons that a TCP connection can be lost, not the least of which is the NAT router that it might sit behind. In my ongoing efforts to develop a private mail system, I needed to know if...
View ArticleVB6 Flickr API - Open To Everyone
Hi all dear fellows VB6 Programmers, A bit of introduction: Sometime ago, I ventured to develop a module to my Document Management System. With this module I could manage my own photographs, by...
View Article[vb6] Overcoming LoadResPicture (ICON/CURSOR) Limitations in IDE
I doubt many are unaware, but some probably are. So let me start by stating the limitations of using LoadResPicture with the vbResIcon and vbResCursor options while in the IDE. 1. Cannot specify the...
View ArticleID a MSChart Piechart slice with MouseMove
Have you ever wanted to ID a "slice"of a MSChart PieChart by simply moving the mouse over it? Well, here is a possible way to do so using a ToolTip. Code: Dim sX() Private Sub Command1_Click() '...
View Article[VB6] ucShellBrowse: A modern replacement for Drive/FileList w/ extensive...
ucShellBrowse v1.0 About This project started its life as an attempt to select a file right on a Property Page without having to click an additional button. There's still a lot of outstanding issues...
View Article[vb6]Treeview - Prevent from indenting when no icon is used
Just a neat option. It has its limitations. It works for both versions 5 & 6 of the common controls TreeView. In the screenshot below, you'll notice that the left image has indentation when icons...
View ArticleNoob Question about files and date :wave:
Thanks in advance for the replies! I maked a folder with date as name to store daily reports about the system data in a log.txt file Is possible to read log files using a calendar? for example I...
View Article[vb6] Patch Icon/Cursor Resource File Entries
The Resource Editor (ResEdit) in VB can corrupt icon/cursor group data. The corruption is minimal, except PNG-encoded related entries. This corruption should not harm anything except in rare scenarios....
View Article[VB6] WTSSendMessage
Here are a couple of simple demos. One just shows how to have a "MsgBox" that times out after some number of seconds if the user does not choose a button. The other shows how you might raise a "MsgBox"...
View ArticleFindResource and the IDE
Okay, I need a function that'll just tell me whether a file is in my resources or not. I'd prefer not to use LoadResData with error trapping because some of my resource files are somewhat large....
View Article[VB6] InkEdit with Windows SpellCheck
Here is an example of using an InkEdit control in "inkless mode" as a Unicode-aware RichTextBox. But on Windows 8 and later there is more! The program turns on the built-in Windows spellcheck...
View Article[VB6] IEnumVARIANT / For Each support without a typelib
In my own projects I use a typelib and a custom interface to do the same thing, (comparable to .NET and Olaf's examples) which might seem overly complex, so here's an example that gets the job done...
View Article[VB6] Registry Key Virtual type checker
Hi, this module allows to check whether Registry Key is: - Shared - Redirected - Usual - Symlink And to show a target of symlink. Note: Reflected type of keys (OS Vista and older only) are not...
View ArticleVB6 - InkEdit and SelText
The InkEdit Control has many useful features, but when it comes to SelText, it does not behave like a normal TextBox. When recovering the text from a multiline InkEdit box, each line is separated by a...
View Article[VB6] INI file class (unicode aware)
'Mainly intended for caching data beetween read-write operations 'Supports UTF-16 LE ini-files format 'Provides wide range of methods 'Doesn't support reading / saving commentary in ini file Based on...
View Article[VB6] Always Behind / Always at the Bottom / Bottommost
The following code will put a Form always behind/at the bottom of all top-level windows. This is accomplished by processing the WM_WINDOWPOSCHANGING message. Code: Option Explicit 'In a standard...
View ArticleVB6 - 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[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 ArticleVB6 - 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[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