Write a String to the Registry with VB6
Just a little snippet which will show you how to write a string value to the registry with Visual Basic 6.
Just a little snippet which will show you how to write a string value to the registry with Visual Basic 6.
Some time ago, I wrote an app that required the ability to resolve hostnames to IP Addresses, and vice versa. After some searching around, I found this gem. I don’t recall exactly where I found it, but this little chunk of code has served me well, lo these many years. It contains two functions: The functions do exactly… Read More »
There are a two really easy ways to get the netBIOS name of the local machine. One leverages API calls to Win32, while the other simply queries an environment variable.
So if you don’t know it, the technical preview version of Windows 10 is available. Being the good maintenance guy, you’ll want to know about installing VB6 on Windows 10. This article shows how I got it running on Microsofts latest OS. I won’t run down the list of getting Windows 10 installed. If you’re able to grab… Read More »
Copying a file with VB6 is pretty straightforward. However, giving feedback to the user during the copy process has historically been a challenge.
As a developer, from time to time you are called upon to build or process large chunks of data. During this process, you can use the the local hard drive as a temporary holding area. Admittedly, with todays well-specc’d computers, you shouldn’t need to do this, but back in the day, this was the norm. By request, here… Read More »
This function will allow you to compare one file to another. It will do either a lax check (compare file lengths only) or a stringent check (a byte by byte comparison). Pretty straightforward demonstration of string handling for Visual Basic 6, posted by request. Public Function AreTheyTheSame(ByVal File1 As String, _ByVal File2 As String, Optional StringentCheck As _Boolean… Read More »
Working with network objects in Visual Basic can be a little daunting for newer programmers. It’s not that scary, really.
Most developers don’t have much of a clue about network fundamentals. What may be a simple thing for a network engineer or system administrator may leave a developer simply scratching his or her head.
Changing an Active Directory user password is not really too difficult. You can even build the function into your own application, by leveraging some Windows API functions.