Click here to Skip to main content
15,902,938 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Sub Main? Pin
gpa20001-Mar-04 20:37
gpa20001-Mar-04 20:37 
GeneralMultiple Monitors Pin
Robert Gronenthal26-Feb-04 3:18
Robert Gronenthal26-Feb-04 3:18 
GeneralRe: Multiple Monitors Pin
Charlie Williams26-Feb-04 6:30
Charlie Williams26-Feb-04 6:30 
GeneralRe: Multiple Monitors Pin
apferreira26-Feb-04 8:02
apferreira26-Feb-04 8:02 
GeneralXP look needed in vb applications Pin
FASTian26-Feb-04 3:06
FASTian26-Feb-04 3:06 
GeneralRe: XP look needed in vb applications Pin
Niels Penneman26-Feb-04 21:42
Niels Penneman26-Feb-04 21:42 
QuestionPassword viewer??? Pin
erikkloeze25-Feb-04 21:37
erikkloeze25-Feb-04 21:37 
AnswerRe: Password viewer??? Pin
Dave Kreskowiak26-Feb-04 2:09
mveDave Kreskowiak26-Feb-04 2:09 
Encrypt? Do you mean you want to scramble the actual text behind the dots, or you want to see the text behind the dots?

If you want to see the text, you would use GetWindowText or use SendMessage and the WM_GETTEXT message to retrieve the text from the Textbox. BUT! I'm NOT telling you how to get the window handle of the Textbox! Hacking a password is not supported here...

If you want to encrypt the text, you can't. If you encrypt the text, your actually just typing the scrambled characters into the textbox and the program will not know that your password is scrambled and pass on a scrambled (and incorrect) password to whatever authentication process is being used.

To stop this practice from being used on projects I've worked on in the past, I've used techniques like clearing the password from the textbox after 3 seconds or so and have written a textbox control that keeps the password typed in seperate from the textbox. The textbox display is just a plain textbox, without using the Password Character property, that just has asterisks in it that correspond to the number of characters entered. You can use Revelation on it, or some other hack tool that does the same, and you'll actually see a string a asterisks instead of the text behind them.

And no, I can't give you the code for it because it's copyrighted by my employer at the time...


RageInTheMachine9532
GeneralDeclaring Custom Variables/Properties Pin
Codemonkey8525-Feb-04 13:31
Codemonkey8525-Feb-04 13:31 
GeneralRe: Declaring Custom Variables/Properties Pin
John Kuhn25-Feb-04 14:07
John Kuhn25-Feb-04 14:07 
GeneralRe: Declaring Custom Variables/Properties Pin
Codemonkey8510-Mar-04 12:14
Codemonkey8510-Mar-04 12:14 
GeneralRe: Declaring Custom Variables/Properties Pin
John Kuhn10-Mar-04 13:44
John Kuhn10-Mar-04 13:44 
GeneralRe: Declaring Custom Variables/Properties Pin
Codemonkey8511-Mar-04 4:58
Codemonkey8511-Mar-04 4:58 
GeneralRe: Declaring Custom Variables/Properties Pin
John Kuhn12-Mar-04 2:51
John Kuhn12-Mar-04 2:51 
GeneralVB Script Password InputBox Pin
morde1ac25-Feb-04 9:47
morde1ac25-Feb-04 9:47 
GeneralRe: VB Script Password InputBox Pin
Dave Kreskowiak25-Feb-04 13:00
mveDave Kreskowiak25-Feb-04 13:00 
GeneralDriving a motor Pin
Looping_Eagle25-Feb-04 6:56
Looping_Eagle25-Feb-04 6:56 
GeneralRe: Driving a motor Pin
Dave Kreskowiak25-Feb-04 8:51
mveDave Kreskowiak25-Feb-04 8:51 
GeneralCRC32 Pin
johnjsm25-Feb-04 5:24
johnjsm25-Feb-04 5:24 
GeneralRe: CRC32 Pin
Dave Kreskowiak25-Feb-04 7:13
mveDave Kreskowiak25-Feb-04 7:13 
GeneralRe: CRC32 Pin
johnjsm25-Feb-04 22:17
johnjsm25-Feb-04 22:17 
GeneralRe: CRC32 Pin
Dave Kreskowiak26-Feb-04 1:24
mveDave Kreskowiak26-Feb-04 1:24 
GeneralRe: CRC32 Pin
johnjsm26-Feb-04 5:24
johnjsm26-Feb-04 5:24 
GeneralRe: CRC32 Pin
Dave Kreskowiak26-Feb-04 8:27
mveDave Kreskowiak26-Feb-04 8:27 
GeneralRe: CRC32 Pin
johnjsm4-Mar-04 4:28
johnjsm4-Mar-04 4:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.