hii
i want to do the follwing coding in the vba microsoft access 2003 to
generate a user password such as
form_load()
dim a as string
a="gul"
if inputbox("enter your passoword") =a then
[Name].enable = true
end if
where [name ] is a field contains various names
the above password do work but the problem is when i put the password like
"gul" it is visible though i want it to be hiden like asteriks or other
characters that nobody around can see it
thankx in advance
|
|
0
|
|
|
|
Reply
|
Utf
|
12/29/2009 12:47:02 AM |
|
Check my article in Database Journal
http://www.databasejournal.com/features/msaccess/article.php/3848121/Extending-the-InputBox-function-for-MS-Access-Forms.htm
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
"Naveed Pathan" <NaveedPathan@discussions.microsoft.com> wrote in message
news:106666D0-CB42-4D8A-9F12-35938E1A6EAB@microsoft.com...
> hii
>
> i want to do the follwing coding in the vba microsoft access 2003 to
> generate a user password such as
>
> form_load()
> dim a as string
> a="gul"
> if inputbox("enter your passoword") =a then
>
> [Name].enable = true
> end if
>
> where [name ] is a field contains various names
> the above password do work but the problem is when i put the password like
> "gul" it is visible though i want it to be hiden like asteriks or other
> characters that nobody around can see it
> thankx in advance
>
|
|
0
|
|
|
|
Reply
|
Douglas
|
12/29/2009 1:31:55 AM
|
|
On Mon, 28 Dec 2009 16:47:02 -0800, Naveed Pathan
<NaveedPathan@discussions.microsoft.com> wrote:
>hii
>
>i want to do the follwing coding in the vba microsoft access 2003 to
>generate a user password such as
>
>form_load()
>dim a as string
>a="gul"
>if inputbox("enter your passoword") =a then
>
>[Name].enable = true
>end if
>
>where [name ] is a field contains various names
>the above password do work but the problem is when i put the password like
>"gul" it is visible though i want it to be hiden like asteriks or other
>characters that nobody around can see it
>thankx in advance
You cannot do this in an Inputbox, but what you can do is open a small unbound
form to collect the password. Use an Input Mask property of
password
on the textbox on the form, and open the form in dialog mode.
--
John W. Vinson [MVP]
|
|
0
|
|
|
|
Reply
|
John
|
12/29/2009 1:51:55 AM
|
|
You can easily accomplish this by simply setting the input mask for the
password control to 'password'.
See http://office.microsoft.com/en-us/access/HP051875501033.aspx for more
information on input masks.
--
Hope this helps,
Daniel Pineault
http://www.cardaconsultants.com/
For Access Tips and Examples: http://www.devhut.net
Please rate this post using the vote buttons if it was helpful.
"Naveed Pathan" wrote:
> hii
>
> i want to do the follwing coding in the vba microsoft access 2003 to
> generate a user password such as
>
> form_load()
> dim a as string
> a="gul"
> if inputbox("enter your passoword") =a then
>
> [Name].enable = true
> end if
>
> where [name ] is a field contains various names
> the above password do work but the problem is when i put the password like
> "gul" it is visible though i want it to be hiden like asteriks or other
> characters that nobody around can see it
> thankx in advance
>
|
|
0
|
|
|
|
Reply
|
Utf
|
12/29/2009 1:53:01 AM
|
|
thankx john though the rest of the people they don't try to understand the
question they just like to give the comments or the useless links to waste
the time. i am talking aobut the inputbox() and they telling me to use the
inputmax i was wondering how to get it but you made it clear it for me as
your answer is concise thankx .
"John W. Vinson" wrote:
> On Mon, 28 Dec 2009 16:47:02 -0800, Naveed Pathan
> <NaveedPathan@discussions.microsoft.com> wrote:
>
> >hii
> >
> >i want to do the follwing coding in the vba microsoft access 2003 to
> >generate a user password such as
> >
> >form_load()
> >dim a as string
> >a="gul"
> >if inputbox("enter your passoword") =a then
> >
> >[Name].enable = true
> >end if
> >
> >where [name ] is a field contains various names
> >the above password do work but the problem is when i put the password like
> >"gul" it is visible though i want it to be hiden like asteriks or other
> >characters that nobody around can see it
> >thankx in advance
>
> You cannot do this in an Inputbox, but what you can do is open a small unbound
> form to collect the password. Use an Input Mask property of
>
> password
>
> on the textbox on the form, and open the form in dialog mode.
> --
>
> John W. Vinson [MVP]
> .
>
|
|
0
|
|
|
|
Reply
|
Utf
|
12/29/2009 9:41:01 AM
|
|
Did you follow the "useless link" I posted? I showed two different ways to
write your own form to accomplish what you're trying to do.
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
"Naveed Pathan" <NaveedPathan@discussions.microsoft.com> wrote in message
news:577E7EEE-9520-4AD0-BC70-82F11DB59A35@microsoft.com...
> thankx john though the rest of the people they don't try to understand the
> question they just like to give the comments or the useless links to waste
> the time. i am talking aobut the inputbox() and they telling me to use the
> inputmax i was wondering how to get it but you made it clear it for me as
> your answer is concise thankx .
>
> "John W. Vinson" wrote:
>
>> On Mon, 28 Dec 2009 16:47:02 -0800, Naveed Pathan
>> <NaveedPathan@discussions.microsoft.com> wrote:
>>
>> >hii
>> >
>> >i want to do the follwing coding in the vba microsoft access 2003 to
>> >generate a user password such as
>> >
>> >form_load()
>> >dim a as string
>> >a="gul"
>> >if inputbox("enter your passoword") =a then
>> >
>> >[Name].enable = true
>> >end if
>> >
>> >where [name ] is a field contains various names
>> >the above password do work but the problem is when i put the password
>> >like
>> >"gul" it is visible though i want it to be hiden like asteriks or other
>> >characters that nobody around can see it
>> >thankx in advance
>>
>> You cannot do this in an Inputbox, but what you can do is open a small
>> unbound
>> form to collect the password. Use an Input Mask property of
>>
>> password
>>
>> on the textbox on the form, and open the form in dialog mode.
>> --
>>
>> John W. Vinson [MVP]
>> .
>>
|
|
0
|
|
|
|
Reply
|
Douglas
|
12/29/2009 11:28:18 AM
|
|
Nice way to insult people trying to help you out! Had you checked out the
useless link you would had seen that for yourself.
As douglas, John and I all pointed out, input mask on a textbox control is
the way to do this. So create a simple form to collect the password and call
it instead if your inputbox. Not very hard. A simple google search would
have answered answered this question.
--
Daniel Pineault
"Naveed Pathan" wrote:
> thankx john though the rest of the people they don't try to understand the
> question they just like to give the comments or the useless links to waste
> the time. i am talking aobut the inputbox() and they telling me to use the
> inputmax i was wondering how to get it but you made it clear it for me as
> your answer is concise thankx .
>
> "John W. Vinson" wrote:
>
> > On Mon, 28 Dec 2009 16:47:02 -0800, Naveed Pathan
> > <NaveedPathan@discussions.microsoft.com> wrote:
> >
> > >hii
> > >
> > >i want to do the follwing coding in the vba microsoft access 2003 to
> > >generate a user password such as
> > >
> > >form_load()
> > >dim a as string
> > >a="gul"
> > >if inputbox("enter your passoword") =a then
> > >
> > >[Name].enable = true
> > >end if
> > >
> > >where [name ] is a field contains various names
> > >the above password do work but the problem is when i put the password like
> > >"gul" it is visible though i want it to be hiden like asteriks or other
> > >characters that nobody around can see it
> > >thankx in advance
> >
> > You cannot do this in an Inputbox, but what you can do is open a small unbound
> > form to collect the password. Use an Input Mask property of
> >
> > password
> >
> > on the textbox on the form, and open the form in dialog mode.
> > --
> >
> > John W. Vinson [MVP]
> > .
> >
|
|
0
|
|
|
|
Reply
|
Utf
|
12/29/2009 2:30:01 PM
|
|
On Tue, 29 Dec 2009 01:41:01 -0800, Naveed Pathan
<NaveedPathan@discussions.microsoft.com> wrote:
>thankx john though the rest of the people they don't try to understand the
>question they just like to give the comments or the useless links to waste
>the time. i am talking aobut the inputbox() and they telling me to use the
>inputmax i was wondering how to get it but you made it clear it for me as
>your answer is concise thankx .
You're welcome... but do note that both Douglas and Daniel gave you exactly
the same suggestion, and if you had followed (and understood) the links you
would have gotten more complete and thorough help. Insulting folks who are
trying to help is impolite.
--
John W. Vinson [MVP]
|
|
0
|
|
|
|
Reply
|
John
|
12/29/2009 6:07:45 PM
|
|
Excellent article by the way! Once again, thank you for all your hard work
and efforts educating and helping us all!
--
Hope this helps,
Daniel Pineault
http://www.cardaconsultants.com/
For Access Tips and Examples: http://www.devhut.net
Please rate this post using the vote buttons if it was helpful.
"Douglas J. Steele" wrote:
> Check my article in Database Journal
> http://www.databasejournal.com/features/msaccess/article.php/3848121/Extending-the-InputBox-function-for-MS-Access-Forms.htm
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
>
> "Naveed Pathan" <NaveedPathan@discussions.microsoft.com> wrote in message
> news:106666D0-CB42-4D8A-9F12-35938E1A6EAB@microsoft.com...
> > hii
> >
> > i want to do the follwing coding in the vba microsoft access 2003 to
> > generate a user password such as
> >
> > form_load()
> > dim a as string
> > a="gul"
> > if inputbox("enter your passoword") =a then
> >
> > [Name].enable = true
> > end if
> >
> > where [name ] is a field contains various names
> > the above password do work but the problem is when i put the password like
> > "gul" it is visible though i want it to be hiden like asteriks or other
> > characters that nobody around can see it
> > thankx in advance
> >
>
> .
>
|
|
0
|
|
|
|
Reply
|
Utf
|
12/29/2009 8:15:01 PM
|
|
|
8 Replies
209 Views
(page loaded in 0.143 seconds)
Similiar Articles: Generating Blinking characters in Excel - microsoft.public.excel ...how to generate password - microsoft.public.excel.misc how to make a random ... In Excel This page describes methods you can use to insert special characters, such as ... silly word password protection problem - microsoft.public.word ...Is it possible to make all word documents password ... Encoding Optional MsoEncoding The code page, or character ... for "Enable support for other file formats, such as ... Word 2008 encryption type - microsoft.public.mac.office.word ...I understand the default encryption algorithm for such a docx file is AES ... 2008 for Mac or Word 2007 for Windows format) he is allowed up to 19 characters for the password. Using "sort" in auto filter not possible when protected ...Hi, Lauren, Is it possible your sheet is not *password* protected, but ... Auto ... You can also filter using wildcard characters such as ... On the Tools menu, point to ... email problem - microsoft.public.windows.vista.mailMake sure that "Log on using Secure Password Authentication" is not enabled. ... > > An email address can't contain a space character, such as you have > > after 'the' in ... Set width of an Cedit control based on required characters ...e.g I want to allow only 70 characters to be typed in ... wrap lines, but not apply magic such as 70 ... in fm20.dll with your hta, and set > the password mask character ... Can't receive mail - microsoft.public.windows.vista.mail ...... mail.live.com and log in with that email address and its associated password? ... trying an account email address that does not contain a special character such as your ... Sign In stopped working -- Help - microsoft.public.windows.live ...Check your settings for username and password in the account and also in the sign ... If you have used an 'invalid character' such as & this causes the problem. Validate Password against Domain Policy - microsoft.public.dotnet ...All parameters (such as SQL-Server instance name or ... that the MS-SQL Server Setup fails when the password ... find out the required buffer size, in wide characters ... How do I use the letter 'L' in an input mask? - microsoft ...... it states: "To define one of the following characters as ... For your example, you could use an input mask such as ... Password text box - microsoft.public.access.forms How do I ... Password strength - Wikipedia, the free encyclopedia... means of breaching computer security which are unrelated to password strength. Such ... letter and adding a couple of numbers and a special character to a password will not ... Password - Wikipedia, the free encyclopediaWhen a user types in a password on such a system, the password handling ... Some systems require characters from various character classes in a password—for example ... Ten Windows Password Myths | Symantec Connect CommunityRather than replacing "o" with "0", try replacing "o" with two characters such as "()" as in "j()hn". And of course, making your password longer will make it even stronger. IBM sql30082n rc=24 connecting from GUI tools such as Control ...sql30082n rc=24 connecting from GUI tools such as Control Center when password contains special characters User Name definitions | Quizlet - Flash cards, vocabulary ...a code or a password: 1 set: 76: first part of an email address: 1 set: 77: a unique combination of characters, such as letters of the alphabets: 1 set: 78: joe.blogs - part of email ... 7/28/2012 4:03:40 PM
|