Click here to Skip to main content
15,904,023 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Get current user's logon password Pin
Navneet Hegde28-May-07 23:32
Navneet Hegde28-May-07 23:32 
GeneralRe: Get current user's logon password Pin
Steven J Jowett28-May-07 23:39
Steven J Jowett28-May-07 23:39 
GeneralRe: Get current user's logon password Pin
Navneet Hegde29-May-07 0:03
Navneet Hegde29-May-07 0:03 
AnswerRe: Get current user's logon password Pin
SimulationofSai28-May-07 23:58
SimulationofSai28-May-07 23:58 
GeneralRe: Get current user's logon password Pin
Steven J Jowett29-May-07 0:10
Steven J Jowett29-May-07 0:10 
GeneralRe: Get current user's logon password Pin
Kiran Kumar B29-May-07 17:31
Kiran Kumar B29-May-07 17:31 
GeneralRe: Get current user's logon password Pin
Kiran Kumar B29-May-07 17:35
Kiran Kumar B29-May-07 17:35 
GeneralRe: Get current user's logon password Pin
Steven J Jowett29-May-07 22:10
Steven J Jowett29-May-07 22:10 
Hi Kiran,

I already know how to get the user name, but thanks for spending the time on it. It is appreciated.

To get a user name the .NET way, use :-

UserName = System.Environment.UserName

The reason I was after the windows password, is so that I could then test the logon to the program I as writing, to see if the logon name and password are the same as the windows logon and if so logon to my program without asking the user for logon details again.

It is not necessary, but would have been nice.

Thanks for your time


Steve Jowett
-------------------------
Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'

QuestionCreating VPN Pin
carsell28-May-07 23:20
carsell28-May-07 23:20 
QuestionFlexGrid in VB6 Pin
Kumaran21cen28-May-07 23:14
Kumaran21cen28-May-07 23:14 
AnswerRe: FlexGrid in VB6 Pin
Navneet Hegde28-May-07 23:45
Navneet Hegde28-May-07 23:45 
QuestionRestarting a socket Pin
Diego F.28-May-07 22:54
Diego F.28-May-07 22:54 
AnswerRe: Restarting a socket Pin
ne0h29-May-07 0:36
ne0h29-May-07 0:36 
GeneralRe: Restarting a socket Pin
Diego F.29-May-07 0:42
Diego F.29-May-07 0:42 
GeneralRe: Restarting a socket Pin
Kiran Kumar B29-May-07 17:44
Kiran Kumar B29-May-07 17:44 
GeneralRe: Restarting a socket Pin
Diego F.29-May-07 21:50
Diego F.29-May-07 21:50 
QuestionCrystal Report Takes too Much Time Pin
Rupesh Kumar Swami28-May-07 22:13
Rupesh Kumar Swami28-May-07 22:13 
AnswerRe: Crystal Report Takes too Much Time Pin
Steven J Jowett28-May-07 23:14
Steven J Jowett28-May-07 23:14 
GeneralRe: Crystal Report Takes too Much Time Pin
Rupesh Kumar Swami29-May-07 0:29
Rupesh Kumar Swami29-May-07 0:29 
QuestionImporting COM Components Pin
Zaegra28-May-07 21:18
Zaegra28-May-07 21:18 
AnswerRe: Importing COM Components Pin
CPallini29-May-07 2:04
mveCPallini29-May-07 2:04 
Questionconnection problem Pin
matjame28-May-07 21:11
matjame28-May-07 21:11 
AnswerRe: connection problem Pin
WhiteGirl2328-May-07 23:05
WhiteGirl2328-May-07 23:05 
GeneralRe: connection problem Pin
matjame28-May-07 23:15
matjame28-May-07 23:15 
AnswerRe: connection problem Pin
Navneet Hegde29-May-07 0:47
Navneet Hegde29-May-07 0:47 

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.