Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 6th, 2003, 01:37 AM
Registered User
 
Join Date: Sep 2003
Location: , , .
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.

Reply With Quote
  #2 (permalink)  
Old December 15th, 2004, 10:57 AM
Registered User
 
Join Date: Dec 2004
Location: PERIGUEUX, , France.
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*¤§!!)

Reply With Quote
  #3 (permalink)  
Old December 15th, 2004, 12:15 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

maybe no-one answered coz it sounds like his/her homework
Reply With Quote
  #4 (permalink)  
Old December 16th, 2004, 09:31 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
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
Reply With Quote
  #5 (permalink)  
Old December 16th, 2004, 09:32 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
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
Reply With Quote
  #6 (permalink)  
Old January 23rd, 2005, 09:23 PM
Registered User
 
Join Date: Jul 2004
Location: , , .
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.

Reply With Quote
  #7 (permalink)  
Old January 30th, 2005, 11:23 AM
Authorized User
 
Join Date: Jul 2004
Location: lagos, ikeja, Nigeria.
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 03:25 PM.


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