|
-
Mar 13th, 2000, 01:20 AM
#1
Thread Starter
Junior Member
I am using an inputbox as a password screen in my application, but forgot how to choose what the pasword is and. Is it something like if inputbox.txt = "password" then etc. etc.?
Please help
-
Mar 13th, 2000, 01:38 AM
#2
No, InputBox is a function, it returns the string:
Code:
Dim strPassword As String
strPassword = InputBox("Please type in password:")
If strPassword = "password" Then
'Granted
Else
'Declined
End If
-
Mar 13th, 2000, 01:47 AM
#3
Thread Starter
Junior Member
thanx yuo are right. I figured it out
-
Mar 13th, 2000, 04:03 PM
#4
Conquistador
you would probably be better off to use a textbox on a form, so that you can set passwordchar to *
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
|