Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi
I was wondering if it is possible to mask a column data to show it as a password character such ask "*"

I want to display the username and password table using datagrid control

But the datagrid control shows the password directly instead of masking it. So I want to mask the password field. I am writing the program in VB6.

Can anyone please help me do this.

--
AJ
Posted

1 solution

Its been a long time since I worked on VB6 but I dont think that will be possible as VB6 doesnot allow datagrid customization.
What you can do is, hide the password column and show a fake password column with hard code "****".
When user edits the field, store the value enter in database and again show hard coded "****".
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900