Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changin password into a reg-binary code for registry

Status
Not open for further replies.

hankins1984

IS-IT--Management
Mar 11, 2002
198
GB
does anyone know how to make vb change a text password into a re-binary key.

EG: access = 45 df 23 5b 69 7a 7d c5

thanx Matthew Hankins

Network Technicain @ DGI Hereford
 
Hi,

What is a reg-binary key?

If you want to translate a string into hexadecimal values, try this:
--------------------------------------------------------
Dim MyStr As String, Test As String
Dim i As Long
MyStr = "Access"
Test=""
For i = 1 To Len(MyStr)
Test = Test & Hex(Asc(Mid$(MyStr, i, 1))) & " "
Next i
MsgBox Test
-------------------------------------------------------- Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top