Wrox Programmer Forums
|
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 6th, 2003, 01:37 AM
Registered User
 
Join Date: Sep 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ADO

Hi,

I have some very easy questions for all of you, but for me it's very difficult.:(

1)What is DSN based connectivity,explain by example.
2)What is DSN less connectivity,explain by example.

Please,please don't refer any link.I want to understand these in your words.;)

Next question next time.

 
Old December 15th, 2004, 10:57 AM
Registered User
 
Join Date: Dec 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to wildergoose
Default

Why did no-one reply to this even if the handle is a bit silly -

using your ODBC DataSouces under admin options, you can declare what amounts to a short cut to your database. Regardless of where your application resides, the dsn points to the database...

dsnless requires you to specify the full path to the database.

ps: it's a fact that I am an atheist, but frankly wouldn't waste my time pushing the fact - if people can't figure it out for themselves, it hardly matters in the long run - live and let live...

pps: I thought Islam was non evangelical (one of its redeeming features - I've never been accosted by a muslim, but the jehovas Grrr*¤§!!)

 
Old December 15th, 2004, 12:15 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

maybe no-one answered coz it sounds like his/her homework
 
Old December 16th, 2004, 09:31 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

This person only posted once.

And I thought pride was inconsistent with Islamic principles (not to mention Judaic and Christian principles from whence Islam springs). So being proud to be a muslim is in fact not being a muslim.

Maybe they changed their screen name.

Anyway, connection refers to the DSN connection. Connectionless is problematic since it requires an absolute path and that may not be the same in all systems. The DSN is specific to the system, and can be relied upon for a troublefree interface.

mmcdonal
 
Old December 16th, 2004, 09:32 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Ooops, now the question is, does this person know what a DSN is?

mmcdonal
 
Old January 23rd, 2005, 09:23 PM
Registered User
 
Join Date: Jul 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Proud (cool handle by the way):
Although this book is really very badly organized and finding anyhitng in ti is a pain in the a.., however on page 536 you can see description and sample for DNS and DNS-Less connection.
In general when you create a connection string that starts with "Provider=Microsoft.jet,......." you have a DNS-less connection.
On the other hand if you use ODBC (under control panel you create ODBC sources for yo applications) and create a source, and then use that source to bound your controls (your conenctionstring looks like
connectionstring = "DNS=TestODBC1"
then you are using DNS.
A very good book on ado is "Serious ADO". Also Wrox's "Beginner's VB programming by Peter Wright is an excellent book although not detailed in database section.
Hope it helped.

 
Old January 30th, 2005, 11:23 AM
Authorized User
 
Join Date: Jul 2004
Posts: 34
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via ICQ to chipset Send a message via MSN to chipset Send a message via Yahoo to chipset
Default

well i guess i was out of town

Arowolo





Similar Threads
Thread Thread Starter Forum Replies Last Post
ADO??? monabaumgartel BOOK: Beginning Access 2003 VBA 1 August 7th, 2007 05:44 PM
Difference between ADO and ADO.NET rakeshclose2u ADO.NET 2 April 23rd, 2007 03:57 AM
ADO AND ADO.NET royalsurej ADO.NET 1 November 8th, 2004 08:28 AM
ADO could ADO counot find the specified provider. Rob Collie Classic ASP Databases 2 June 9th, 2003 04:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.