Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

US Job listings




   Misc

   Amazon

   Links

    


rename computer

 

'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 Long

Private Sub Command1_Click()
Dim change
Dim SetName
change = MsgBox("this will change the name of your system", vbYesNo + vbInformation)
If change = vbYes Then
SetName = SetComputerName(Text1.Text)
End If
End Sub

 

 

 

 

 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
php and java example(PHP)
The Register news(PHP)
IP address to host name(PHP)
Delete recent documents(C)
octal to decimal conversion(PHP)
create a date(PHP)
Convert from binary to decimal(C Sharp)
Random email addresses(PHP)

    




Copyright © 2003 by programmershelp.co.uk