[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference abbott::visual_basic

Title:Microsoft Visual Basic
Moderator:TAMARA::DFEDOR::fedor
Created:Thu May 02 1991
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2565
Total number of notes:10453

2172.0. "Need to capture the username" by RUFUSL::JANOWSKI () Wed Jan 10 1996 15:20

T.RTitleUserPersonal
Name
DateLines
2172.1NETRIX::"[email protected]"Willy DenoyetteThu Jan 11 1996 06:5620
2172.216 bit versionRUFUSL::JANOWSKIThu Jan 11 1996 11:434
2172.3further clarificationRUFUSL::JANOWSKIThu Jan 11 1996 13:407
2172.4No network + no logon -> no usernameUNTADE::TOWERSFri Jan 12 1996 05:225
2172.5RUFUSL::JANOWSKIFri Jan 12 1996 09:116
2172.6Write your own username+password login before ODBC connectUNTADE::TOWERSThu Jan 18 1996 07:318
2172.7Can I use Win 95 Password/UsernameHIGHD::MELENDEZWed Apr 16 1997 13:497
    Is There any way to use the username/password entered by the user
    when he connects with windows 95. I would like to use a connect string
    where the user would not have to log in to the database, this is due to
    a customer wish to avoid having to logon each time.  Can I use a
    %USERNAME  type command in the ODBC connect string? Sugestions?
    Any help would be greatly apreciated.
    Thanks Joe
2172.8EVTSG8::TOWERSThu Apr 17 1997 04:379
    The reply in .1 tells you how to get the username. As for the password
    I'm pretty sure it can't be got. If anybody knows otherwise I'd
    certainly be interested in the details.
    
    The ODBC connection string should be something like:
    strSQL = "dsn=MyDSN;uid=myusername;pwd=mpassword;"
    
    Cheers,
    Brian
2172.9thanksHIGHD::MELENDEZThu Apr 17 1997 17:036
    Hi Brian, 
    Thanks for the info, I have taken a copy of .1
    and will try to get it working, I had hoped that
    the password would be someplace usable, but  thinking about
    that It would be a rather large security hole.
    Thanks Joe