Sybase, VB & ADO

Applies To

OS:
VB:
NT, 9x, 2000
5, 6
Originally written on 03-05-01
Updated on 05-17-01

Quite a bit of confusion reigns out there today on what are the options for connecting to Sybase from Visual Basic using ADO. Most of the blame goes to Sybase which has a truly confusing marketing message and a completely useless website, full of marketing fluff. It seems that they rename the products and their goals at will. One minute a product is called Sybase Studio Anywhere, the next minute Sybase Lite or Adaptive Server Anywhere and then back. Adaptive Server Enterprise (the high end product) is on occasion called Sybase SQL Server. You get the picture. Same happens with the marketing priorities. Depending on when you talk to them, you'll hear a different song on where the company is headed. Sometimes they are all about replication with mobile devices, other times they are the database provider, then XML champions...

So there is no surprise that one of the most asked questions about Sybase on the newsgroups is the simplest one of all: how to connect with ADO. Well, there are several options. I've broken down information based on the version.

Sybase Adaptive Server Enterprise 12.x

Sybase Adaptive Server Enterprise 11.x

Sybase Anywhere Studio 7.x

Sybase Anywhere Studio 6.x

Where to get all these drivers

If you ever looked to Sybase's website to download drivers or providers, you were probably frustrated. They are difficult to find. Below are the four ways, I gotten drivers: Thanks go out to Robert Glöckner from Fürth, Germany for suggesting extra ways to get drivers.