VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Change the registetered owner of your windows copy

Jonathan Valentin  (5 Submissions)   Windows System Services   Visual Basic 5.0   Unknown Difficulty   Sun 18th June 2000   Mon 8th February 2021

Change the registetered owner of your windows copy

API Declarations


Private Const HKEY_LOCAL_MACHINE = &H80000002

Private Declare Function RegCreateKey Lib _
"advapi32.dll" Alias "RegCreateKeyA" _
(ByVal Hkey As Long, ByVal lpSubKey As _
String, phkResult As Long) As Long

Private Declare Function RegCloseKey Lib _
"advapi32.dll" (ByVal Hkey As Long) As Long

Private Declare Function RegSetValueEx Lib _
"advapi32.dll" Alias "RegSetValueExA" _
(ByVal Hkey As Long, ByVal _
lpValueName As String, ByVal _
Reserved As Long, ByVal dwType _
As Long, lpData As Any, ByVal _
cbData As Long) As Long

Private Const REG_SZ = 1
Private Const REG_DWORD = 4

Rate Change the registetered owner of your windows copy (2(2 Vote))
Change the registetered owner of your windows copy.bas

Change the registetered owner of your windows copy Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters