|
-
Oct 20th, 2000, 05:36 AM
#1
Thread Starter
New Member
Can any one tell me how to decode a characters in password field in to readable characters?
-
Oct 20th, 2000, 05:53 AM
#2
Lively Member
Some cause happiness wherever they go; others, whenever they go.
-
Oct 20th, 2000, 05:59 AM
#3
Hyperactive Member
Here you go:
Code:
'Let's say you have 2 textboxes.
'One is txtPass and the second is txtSolve.
'txtPass is the text wich the password is entered.
'txtSolve is the textbox which will show the password.
Private Sub txtPass_Change()
txtSolve.Text = txtPass.Text
End Sub
It's that simple!
-
Oct 20th, 2000, 02:40 PM
#4
Are you referring to the PasswordChar property?
And changing it back to readable text?
Code:
Text1.PasswordChar = ""
-
Oct 20th, 2000, 03:03 PM
#5
The picture isn't missing
i think he means to like decode passwords in another program.
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Oct 20th, 2000, 04:50 PM
#6
Fanatic Member
You could use the SendMessage api function to set the password char to 0.
-
Oct 20th, 2000, 08:43 PM
#7
You sure can use SendMessage API to get the text from the password textbox, but bare in mind that it works only in Win95 (that was a Microsoft bug).
-
Oct 21st, 2000, 12:57 AM
#8
Thread Starter
New Member
Thanx Guys
SendMessage API works only in '95. but i need a way to figure it out in NT and '98. U guys have any ideas.
-
Oct 21st, 2000, 01:10 AM
#9
Thread Starter
New Member
Thanx Guys
SendMessage API works only in '95. but i need a way to figure it out in NT and '98. U guys have any ideas.
-
Oct 21st, 2000, 06:57 AM
#10
Frenzied Member
What do you mean SendMessage works only in Win95. I have Win98 And this code works fine. (it doesn't work only in WinNt) It gets the pass characters.
Code:
Public Const WM_GETTEXTLENGTH = &HE
Public Const WM_GETTEXT = &HD
Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Dim tl as Long
Dim t as String
tl = SendMessage(hWndOfPassWindow, WM_GETTEXTLENGTH, 0, 0)
tl = tl + 1
t = Space(tl)
SendMessage hWndOfPassWindow, WM_GETTEXT, tl, ByVal t
Text1.Text = t
-
Oct 23rd, 2000, 12:53 AM
#11
Thread Starter
New Member
Thanx for ur correspondence
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|