473,441 Members | 1,769 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,441 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 2435
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, 149 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.