473,386 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Password change

lee123
556 512MB
how can i change the data in my password form to read This- ******* instead of the data i put in there, is there a format i am suppose to use....

lee123
Mar 16 '09 #1
5 2431
debasisdas
8,127 Expert 4TB
if you want to display *** or any other character at the pasword prompt in a textbox ,set the password character to the desired character..
Mar 16 '09 #2
EYE4U
75
I think you want to save your data in files or in database in this form.
If yes you cant do this but use encrypting and decrypting techniques by using this convert your data into some other unreadable form and save to file or database and when reading encrypt the data again at runtime.

Hope it helps you
If you want any example i can make one for you.

Regards
ARUZ
Mar 22 '09 #3
lee123
556 512MB
cool yea make an example thanx

lee123
Mar 22 '09 #4
EYE4U
75
Lee
While Searching over the internet i found a cool example with a dll for encrypting and decrypting of data.

Using dll:
To use the dll add reference to the dll file and to encrypt just write this

Expand|Select|Wrap|Line Numbers
  1. Dim ObjCrypt As New vbCrypt.EncryptionTools   
  2. MsgBox ObjCrypt.MD5HashString("test123")
  3. 'Results: CC03E747A6AFBBCBF8BE7668ACFEBEE5
If you dont understand that example there is a very simple way by which you can make your own encryption and decryption function.

Expand|Select|Wrap|Line Numbers
  1. public function Encrypt(Value_String as string)as string
  2. value_string =replace(value_string,"a","%")
  3. value_string =replace(value_string,"b","$")
  4. value_string =replace(value_string,"c","#")
  5. value_string =replace(value_string,"d","@")
  6. end function
  7.  
  8. public function Decrypt(Value_String as string)as string
  9. value_string =replace(value_string,"%","a")
  10. value_string =replace(value_string,"$","b")
  11. value_string =replace(value_string,"#","c")
  12. value_string =replace(value_string,"@","d")
  13. end function
now ::
Expand|Select|Wrap|Line Numbers
  1. msgbox Encrypt("abcd")
output :: %$#@

Expand|Select|Wrap|Line Numbers
  1. msgbox Decrypt("%$#@")
output :: abcd

Regards
ARUZ
Attached Files
File Type: zip vbCrypt.zip (22.1 KB, 148 views)
Mar 23 '09 #5
lee123
556 512MB
thanks i'll try it

lee123
Mar 23 '09 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: arktikturtle | last post by:
Hi! I'm looking for a way to validate a password within PL/SQL. I want to write CREATE PROCEDURE change_password(old_password IN VARCHAR2) IS BEGIN -- check if old_password is correct... but...
1
by: Mindy Geac | last post by:
Hello, I'm seaching for the possibility to change Domain/User passwords. And a check for users if the password has to change with the first logon or when the password is expired. thanx, ...
2
by: MLH | last post by:
What's the simplest way to allow a user of an A97 app to change password?
10
by: Fabrizio | last post by:
(Sorry for the crosspost, but I really don't know which is the right newsgroup!) Hi all, I try to change the password to a user that as to change the password at first logon: try {
2
by: Drew Pawlik | last post by:
I am needing to write an application that will be used every month to automatically run queries on an Oracle database. But the password I need to log in to the database needs to be changed every...
5
by: scorpion53061 | last post by:
is it possible to set the database password that you can set in access for a database from a vb.net application?
0
by: GregS | last post by:
We have a client that has a very large number of users that will be connecting back to the domain via VPN only. The problem is that the communications vendor can not pass the password expiration...
2
by: J | last post by:
Hello. I apologize if this isn't the appropriate group for this question but I was wondering if it's possible to allow regular windows domain users to change their passwords through an .asp page? ...
1
by: eighthman11 | last post by:
Hi everyone: I created a custom toolbar called Password, so users can change their password. I used the Command "User and Group Accounts". I know the user can not change anything in the Tab...
2
by: bemytthm | last post by:
I just want to ask abt communicate with AD using ASP.net. I would want to ask you all to help me correct a problem like this: This is a code i use to change password on AD public bool...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.