'program renames your computer , requires a text box and a command button Private Declare Function SetComputerName Lib "kernel32" Alias "SetComputerNameA" (ByVal lpComputerName As String) As LongPrivate Sub Command1_Click()Dim changeDim SetNamechange = MsgBox("this will change the name of your system", vbYesNo + vbInformation)If change = vbYes ThenSetName = SetComputerName(Text1.Text)End IfEnd Sub