[QUOTE]
the question is not clear.
what do you mean ? is it do you want to pass value through an inputbox. it is possible. get value from inputbox variable and check it with your value"password" .
[/QOUTE]
Hi , I need to enter a passsword to an InputBox but the char. need to be in password char. Please assist.
The InputBox function does not support the "password masking" feature. The textbox control does, by setting the PasswordChar property. If you need it to appear in a popup window like the InputBox, just place your textbox on a separate form and show that.
Private Declare Function FindWindow Lib "user32" Alias _
"FindWindow A" (ByVal lpClassName As String, _
ByVal lpWindowName As String) As Long
Private Declare Function FindWindowEx Lib "user32" Alias _
"FindWindow ExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, _
ByVal lpsz1 As String, ByVal lpsz2 As String) As Long
Public Declare Function SetTimer& Lib "user32" _
(ByVal hwnd&, ByVal nIDEvent&, ByVal uElapse&, ByVal _
lpTimerFunc&)
Private Declare Function SendMessage Lib "user32" Alias _
"SendMessag eA" (ByVal hwnd As Long, ByVal wMsg As Long, _
ByVal wParam As Long, lParam As Any) As Long
Const EM_SETPASSWORDC HAR = &HCC
Public Const NV_INPUTBOX As Long = &H5000&
Public Sub TimerProc(ByVal hwnd&, ByVal uMsg&, _
ByVal idEvent&, ByVal dwTime&)
It's been my problem before so i just want to share how it was solved. It's been a year though before I posted an answer to the question. I am new here, so that explains it. And thank you for adding code tags! haha i forgot the tags. Anyway, is there a forum here for the Assembly language?I have a question to ask also . . .
It's been my problem before so i just want to share how it was solved. It's been a year though before I posted an answer to the question. I am new here, so that explains it. And thank you for adding code tags! haha i forgot the tags. Anyway, is there a forum here for the Assembly language?I have a question to ask also . . .
No, we don't have an Assembly forum. But you could try the Miscellaneous Questions forum, or the Software Development one.
Comment