HDD Registration Code

Source: Internet
Author: User

changing window size Events
Private Sub form_resize ()
Hard Drive Registration Code
Private Sub Command1_Click ()
Set FSO = CreateObject ("Scripting.FileSystemObject")
Set d = fso.getdrive ("C:")
XYZ = Hex (D.serialnumber)
If Len (XYZ) > 7 Then
VOV01 = Left (Val (left (XYZ, 1), 1)), 1)
Vov02 = Left (Val (left (XYZ, 2), 1)), 1)
Vov03 = Left (Val (left (XYZ, 3), 1)), 1)
Vov04 = Left (Val (left (XYZ, 4), 1)), 1)
Vov05 = Left (Val (left (XYZ, 5), 1)), 1)
Vov06 = Left (Val (left (XYZ, 6), 1)), 1)
Vov07 = Left (Val (left (XYZ, 7), 1)), 1)
Vov08 = Left (Val (left (XYZ, 8), 1)), 1)
xxyz = Vov01 & Vov02 & Vov03 & Vov04 & Vov05 & Vov06 & Vov07 & Vov08
XXXYZ = Left (XXYZ * 9, 8)
MsgBox xxxyz
End If
End Sub

HDD Registration Code

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.