17-10-12, 12:38 AM
كاتب الموضوع : AhmedEssawy
في التصريحات واعتماداً على مكتبة kernel32 :
وفي الكود :
في التصريحات واعتماداً على مكتبة kernel32 :
كود :
Declare Function SetComputerName Lib "kernel32" _
Alias "SetComputerNameA" (ByVal lpComputerName As String) As _
Long
كود :
SetComputerName(NewComputerName)