Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO Connection

Status
Not open for further replies.

JMTS

Programmer
Oct 31, 2000
26
US
Does anyone know how to set up ADO using a trusted connection?
 

Just add "Trusted_Connection=yes" to your ConnectionString
Code:
'(SQL Server)
ConnectionString = "Provider=SQLOLEDB;server=MySrv;initial catalog=MyDB;Trusted_Connection=yes"
Mark
 
Thanks! Do you know of any good documentation on the different parameters that can be used in a connection string?
 
The VB6 help should be good. You will get it from the VB6 IDE.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top