Change The Name of a Computer With Kernel32 Lib
Version Compatibility: Visual Basic 6
Use this function to that implements the kernel32 library to change the name of your computer. All you need to test this is a commandButton control and a textBox control.
Instructions: Copy the declarations and code below and paste directly into your VB project.