Using user id and pwd in data source name

From: Omar Pulido (anonymous_at_discussions.microsoft.com)
Date: 05/29/04

  • Next message: Rufus DeDufus: "Data shaping GUIDs undefined, undocumented"
    Date: Fri, 28 May 2004 23:31:02 -0700
    
    

    I use some programs that connect to a database without prompting for a user id and password. The programs use a system dsn. In the system dsn you specify all the ODBC information like user, password, server, database name, etc. How can I do something similar in VB so that my program will connect to the database using the usr and pwd that is stored in the Data Source Name already configured? I do not want to have the usr and pwd hardcoded and I do not want to prompt the user of the application for that either. Please help.... Thanks


  • Next message: Rufus DeDufus: "Data shaping GUIDs undefined, undocumented"