change computer name
October 22, 2008 by admin
Filed under Visual Basic
change computer name using Visual Basic
Declare Function SetComputerName Lib "kernel32" Alias "SetComputerNameA" (ByVal lpComputerName As String) As Long
Dim strComputerName as string
Dim lngReturn as Long
strComputerName = "New name "
lngReturn = SetComputerName(strComputerName)
Related posts:
- change drive name Private Declare Function SetVolumeLabelA Lib “kernel32″ _ (ByVal lpRootPathName As...
- Change the windows wallpaper This Visual Basic example will allow you to change the...
- get the computer name This example will get the computer name #include <stdio.h> #include...
- rectangular form example this example shows how to create a rectangular form in...
- Get screen resolution with Visual Basic This Visual Basic example will find out your current screen...
Related posts brought to you by Yet Another Related Posts Plugin.






















