Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Visual Basic
Expertise: Beginner
Nov 6, 2000



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Logon Improvements

If your application connects to Microsoft SQL Server, you can use two features to make your login easy and low maintenance. The first choice is to use OLE DB instead of ODBC. This eliminates the need to create and maintain ODBC entries on the user machine. The second is to use trusted connections on the database server. This uses the network login of the user and eliminates the need for the user to enter a UserID and password in the application. Use the following script, substituting your names and variables:
    Dim sConnect as String

    sConnect = sConnect & 
Dennis Rehm
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date