Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic (http://www.programmingforums.org/forum18.html)
-   -   hopefully an easy question...... (http://www.programmingforums.org/showthread.php?t=15571)

mrbassman26 Apr 8th, 2008 9:13 AM

hopefully an easy question......
 
i had forgotten my password to a program i use at work, so i found one of those small programs that reveals an asterisk password on mouse-over. so now i am curious, how would that be coded? are there any codes floating around that would show how this is done? thx

Ooble Apr 8th, 2008 11:47 AM

Re: hopefully an easy question......
 
A password box is simply a text box which replaces the content with asterisks when outputting it. The content is still there. Therefore, if you can get the handle of the text box, you can query it for its actual content.

The asterisks are purely to stop someone looking over your shoulder. If they have access to your computer and you've ticked "Remember my password", you're screwed.

mrbassman26 Apr 8th, 2008 12:02 PM

Re: hopefully an easy question......
 
as i am still a noobie, how do i find the handle, and what might the code look like. i've been searching for snippets, but have found none.

Ooble Apr 8th, 2008 5:49 PM

Re: hopefully an easy question......
 
Googling for "VB get text from password box" found this.

mrbassman26 Apr 11th, 2008 4:39 PM

Re: hopefully an easy question......
 
Quote:

Originally Posted by Ooble (Post 143666)
Googling for "VB get text from password box" found this.

i try to open this in vstudio 2008, but it says corrupted. are there version backwards compatibility issues with vb?

Ooble Apr 11th, 2008 7:16 PM

Re: hopefully an easy question......
 
Here's the problem: you posted this in the Visual Basic forum. Visual Basic 2008 (or VB 9) is a form of Visual Basic .NET, and though Microsoft have dropped the ".NET" portion of the name, we still use it to distinguish it from "classic" VB (versions 6 and below; pre-2002). VB .NET is not compatible with classic VB.

Googling for "VB .NET get text from password box" found this.


All times are GMT -5. The time now is 9:10 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC