Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 8th, 2008, 10:13 AM   #1
mrbassman26
Newbie
 
Join Date: Apr 2008
Posts: 3
Rep Power: 0 mrbassman26 is on a distinguished road
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
mrbassman26 is offline   Reply With Quote
Old Apr 8th, 2008, 12:47 PM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
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.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Apr 8th, 2008, 1:02 PM   #3
mrbassman26
Newbie
 
Join Date: Apr 2008
Posts: 3
Rep Power: 0 mrbassman26 is on a distinguished road
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.
mrbassman26 is offline   Reply With Quote
Old Apr 8th, 2008, 6:49 PM   #4
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Re: hopefully an easy question......

Googling for "VB get text from password box" found this.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Apr 11th, 2008, 5:39 PM   #5
mrbassman26
Newbie
 
Join Date: Apr 2008
Posts: 3
Rep Power: 0 mrbassman26 is on a distinguished road
Re: hopefully an easy question......

Quote:
Originally Posted by Ooble View Post
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?
mrbassman26 is offline   Reply With Quote
Old Apr 11th, 2008, 8:16 PM   #6
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
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.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy Question on VB for Excel Aussiemex Visual Basic 0 Feb 8th, 2006 12:51 AM
Question about passing objects into member functions aznluvsmc C++ 7 Sep 28th, 2005 12:41 AM
How to post a question nnxion C++ 10 Jun 3rd, 2005 12:53 PM
How to post a question nnxion C++ 0 Jun 3rd, 2005 9:55 AM
How to post a question nnxion C 0 Jun 3rd, 2005 9:55 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:16 PM.

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