|
-
Nov 15th, 2001, 12:36 PM
#1
Connect Without ODBC???
Does anyone know of a way to connect to SYBASE or MS-SQL Server through VB without using ODBC?
Thanx
-
Nov 15th, 2001, 03:07 PM
#2
Lively Member
I dont think so, but why dont u want to use ODBC?
-
Nov 15th, 2001, 03:18 PM
#3
Black Cat
For MSSQL you can use OLEDB (thru ADO) or the SQL-DMO COM objects (SQL-DMO use the SQL ODBC provider behind the scenes).
Here's an OLEDB connection string, using Windows Intregrated Authentication:
"Provider=SQLOLEDB;Server=ServerNameOrIPAddress;Database=YourDB;Trusted_Connection=Yes;"
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Nov 15th, 2001, 04:27 PM
#4
Addicted Member
SYBASE should also have an OLEDB provider for your to connect to it's database.
"Provider=" = OLE
"DRIVER=" = ODBC (even if it is dsn-less)
-
Nov 15th, 2001, 04:49 PM
#5
Thanx alot.
Is that the only other way, though?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|