Re: I'm very confused about the different databases!




"pcnerd" <pcnerd@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:36BDB91F-42FE-4CF7-8820-923FC0E0283F@xxxxxxxxxxxxxxxx
I have VB6 Learning Edition(hereafter, referred to as VB6 LE). I don't
know
what databse came with it. I'm confused about the different databases.
There's DAO, ADO, ADO.NET, Jet (in its various versions), SQL, SQL Server
2005. You can see why I'm confused! I've browsed around VB6 LE & I see
different version numbers. I browsed around MSDN & found out that I can
use
SQL Server 2005 with VB6 LE. I have SQL Server 2005 installed on my PC. I
don't want to have a bunch of databases on my PC. So, I have some
questions.

What database & version comes with VB6 LE?

What databases can I use with VB6 LE?

What is the most current database that I can use with VB6 LE?

How do I uninstall the ones that I don't want?

What are the differences between the various databases?

I have XP Pro with service pack 2. When I check Add-Remove Programs, the
only database that I see is SQL Server 2005.

Why isn't Jet or whatever VB6 LE uses listed in Add-Remove Programs?

How do I remove Jet?

Thank you. David

Wow!

A couple of zillion questions there. <g>

AFAIK, the LE edition is only limited in the ability to compile executables,
but I'm not that sure. (Someone else will gladly fill in the gap.)

Before routing you to a bunch of URLs and Help Articles, here is 40,000 foot
view that may help.

Database access takes several layers of components. You access the services
of these components thru Data Access and Object Libraries or APIs,
providers, and drivers.
So you always have something like this whether you are using VB, C++,
Delphi, etc....
Your Code (VB, VB.Net) - talks to ->
A Data Access Library (DAO, ADO, OO4O, ADO.Net, ...) - talks to ->
Provider/Driver (ODBC, OLEDB, SQL.Net) - talks to ->
Database Engine/Server (SQL Server, MS Jet, MySQL, ...) - talks to ->
The Data

[I include VB.Net and ADO.Net for completeness, but since you are using VB I
won't mention it again.]

You can have a variety of configurations dependent on what "Data Access
Library" and the Database you chose to use .

So you can use any database, in your case it makes sense to just use
SQLServer.
Note: SQLServer is a RDBMS "server". Thus it is a running application.
MSAccess on the other hand is file-based and thus uses the Jet engine - but
is not a "running" application. That is why you don't see it has an
application.

You do not need to remove Jet. Usually you will need it for other MS
applications. In fact at the moment don't mess with anything just attempt to
connect your VB code with SQL Server.

For your situation as presented, just concentrate on the following tools.
1) Use ADO as your Data Access Library
Select it in References
2) Use the "Microsoft OLE DB Provider for SQL Server"
Select it in your connection string.
Get a connection string from here.
http://www.connectionstrings.com/

Just ignore the other technologies for now.

There are tons of source code, examples, and tutorials on the web. But I
recommend getting a good book, just so all the dots are covered.
Give you something to play with...
http://www.programmersheaven.com/download/36232/download.aspx

If you get stuck post back with code.


hth
-ralph






.



Relevant Pages

  • Re: Database Connectivity
    ... Never was Jet mentioned anywhere at anytime. ... >> Microsoft Access Database Solutions, with not a single mention of Jet. ... front end, and the underlying database engine, JET. ... like SQL Server, Sybase, MySQL, etc. ...
    (comp.lang.python)
  • Re: Duplicate Values Question
    ... My general approach when working with SQL server does NOT include the use of ... If you think that Access 2007 means that Jet ... database code will remain the same forever... ... constraints correct and maintain the data integrity... ...
    (microsoft.public.access.tablesdbdesign)
  • Re: Why not Access...?
    ... The first point is, yes, Jet, not Access, is a file based, Pseudo-RDBMS. ... Jet database will corrupt and become ... MS Jet/Access, MSDE, and SQL Server 2005 Express Edition. ... > I am developing a desktop application using VB as front-end for some clients> where the a large number of regular entries are done but there is a rare need> to delete old customers. ...
    (microsoft.public.sqlserver.server)
  • Re: Typed dataset: Time only data in SQL dateTime Field
    ... while inserting a value into a Jet database and then ... When you migrate the data from Jet to SQL Server then you will find that SQL ... DateTime structure that you can use to do this. ... If you only use the database datetime column for storage retrieval purposes ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Im very confused about the different databases!
    ... that I can use SQL Server with VB6. ... What is the most current database that I can use with VB6 LE? ... You can have a variety of configurations dependent on what "Data Access ...
    (microsoft.public.vb.general.discussion)